lib/config_default/struct.rb in config_default-0.2.2 vs lib/config_default/struct.rb in config_default-0.2.3

- old
+ new

@@ -18,10 +18,10 @@ @attributes[key] end def method_missing(method, *_args) return if @allow_nil - raise StandardError.new("There is no option :#{method} in configuration.") + raise ArgumentError.new("There is no option :#{method} in configuration.") end def respond_to_missing?(*_args) true end