# File lib/fog/bin/slicehost.rb, line 4 def class_for(key) case key when :compute Fog::Compute::Slicehost when :dns Fog::DNS::Slicehost else raise ArgumentError, "Unrecognized service: #{key}" end end