lib/picky/extensions/module.rb in picky-4.4.1 vs lib/picky/extensions/module.rb in picky-4.4.2

- old
+ new

@@ -1,7 +1,7 @@ # The original Module class. # -class Module # :nodoc:all +class Module def each_delegate *methods options = methods.pop unless options.is_a?(Hash) && to = options[:to] raise ArgumentError, "Multi delegation needs a target. Supply an options hash with a :to key as the last argument (e.g. delegate :something, :to => :an_array_reader)." \ No newline at end of file