lib/sifttter_redux/configuration.rb in sifttter-redux-0.5.0 vs lib/sifttter_redux/configuration.rb in sifttter-redux-0.5.1
- old
+ new
@@ -21,11 +21,10 @@
def self.[](section_name)
if section_exists?(section_name)
@data[section_name]
else
error = "Section does not exist: #{ section_name }"
- Methadone::CLILogging.error(error)
fail ArgumentError, error
end
end
# ----------------------------------------------------
@@ -41,10 +40,9 @@
if hash.is_a?(Hash)
@data[section_name] = {}
@data[section_name].merge!(hash)
else
error = "Parameter is not a Hash: #{ hash }"
- Methadone::CLILogging.error(error)
fail ArgumentError, error
end
end
# ----------------------------------------------------