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
21 22 23 24 |
# File 'lib/flickr_fu.rb', line 21 def returning(value) yield(value) value end |