lib/itsf/services/configuration.rb in itsf_services-0.3.0 vs lib/itsf/services/configuration.rb in itsf_services-0.3.1
- old
+ new
@@ -7,15 +7,15 @@
module Configuration
def configure
yield self
end
- mattr_accessor :silenced_levels do
+ mattr_accessor(:silenced_levels) do
{
test: [],
development: [],
production: []
- }
+ }.with_indifferent_access
end
def silenced_levels=(silenced_levels)
@@silenced_levels = silenced_levels.with_indifferent_access
end