lib/yun/config.rb in yun-0.0.5 vs lib/yun/config.rb in yun-0.0.6
- old
+ new
@@ -29,9 +29,13 @@
def self.get_user os_name
setting[:os][os_name.to_sym][:user]
end
+ def self.images
+ setting[:os]
+ end
+
private
def self.setting
@setting ||= YAML.load_file(config_file)[:default]
end