lib/picky/extensions/module.rb in picky-0.12.3 vs lib/picky/extensions/module.rb in picky-1.0.0
- old
+ new
@@ -1,7 +1,7 @@
# The original Module class.
#
-class Module
+class Module # :nodoc:all
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