lib/kaname/resource.rb in kaname-0.6.2 vs lib/kaname/resource.rb in kaname-0.6.3
- old
+ new
@@ -2,10 +2,10 @@
module Kaname
class Resource
class << self
def yaml(filename = 'keystone.yml')
- if File.exists?(filename)
+ if File.exist?(filename)
@_yaml ||= expand_all_tenants(YAML.load_file(filename))
end
end
private