lib/nakal.rb in nakal-0.1.1 vs lib/nakal.rb in nakal-0.1.2
- old
+ new
@@ -23,10 +23,10 @@
@image_location = "#{@directory}/#{@device_name}/#{image_relative_dir}"
FileUtils.mkdir_p @image_location unless File.directory?(@image_location)
end
def current_platform
- Object.const_get("Nakal::#{Nakal.platform.capitalize}")
+ Nakal.const_get Nakal.platform.capitalize
end
end
end