lib/cliutils/configuration.rb in cliutils-1.2.1 vs lib/cliutils/configuration.rb in cliutils-1.2.2
- old
+ new
@@ -31,11 +31,10 @@
# Singleton method to return (or initialize, if needed)
# a Configurator.
# @param [String] path The filepath to use
# @return [void]
- def load_configuration(path)
+ def self.configuration=(path)
@@configuration = Configurator.new(path)
end
- alias configuration= load_configuration
end
end