lib/ruby-conf.rb in ruby-conf-2.7.1 vs lib/ruby-conf.rb in ruby-conf-2.7.2

- old
+ new

@@ -198,11 +198,12 @@ end if args.empty? modifier == '?' ? !!self[name] : self[name] else - args = args.size == 1 ? args.first : args - (@__rc_locked && __rc_attributes[name.to_sym].is_a?(Proc)) ? self[name, *args] : self[name] = args + arg = args.size == 1 ? args.first : args + + (@__rc_locked && __rc_attributes[name.to_sym].is_a?(Proc)) ? self[name, *args] : self[name] = arg end end end def respond_to?(name)