Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/flickr_fu.rb
Instance Method Summary collapse
-
#returning(value) {|value| ... } ⇒ Object
returning allows you to pass an object to a block that you can manipulate returning the manipulated object.
Instance Method Details
#returning(value) {|value| ... } ⇒ Object
returning allows you to pass an object to a block that you can manipulate returning the manipulated object
44 45 46 47 |
# File 'lib/flickr_fu.rb', line 44 def returning(value) yield(value) value end |