lib/on_strum/logs/configuration.rb in on_strum-logs-0.1.1 vs lib/on_strum/logs/configuration.rb in on_strum-logs-0.2.0

- old
+ new

@@ -12,10 +12,10 @@ def initialize(&block) tap(&block) if block end OnStrum::Logs::Configuration::SETTERS.each do |method| - define_method("#{method}=") do |argument| + define_method(:"#{method}=") do |argument| raise_unless(argument, __method__, valid_argument_type?(method, argument)) instance_variable_set(:"@#{method}", argument) end end