Class: Method
Instance Method Summary collapse
-
#to_iter(*args) ⇒ Object
Creates a new Iterator for this method, initially invoked on this method’s receiver.
Instance Method Details
#to_iter(*args) ⇒ Object
Creates a new Iterator for this method, initially invoked on this method’s receiver.
9 10 11 |
# File 'lib/mug/iterator/method.rb', line 9 def to_iter *args Iterator.new receiver, name, *args end |