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
43 44 45 46 |
# File 'lib/flickr_fu.rb', line 43 def returning(value) yield(value) value end |