Module: Tracksperanto::Returning
- Included in:
- BufferIO
- Defined in:
- lib/tracksperanto/returning.rb
Instance Method Summary collapse
-
#returning(r) {|r| ... } ⇒ Object
The “returning” idiom copied from ActiveSupport.
Instance Method Details
#returning(r) {|r| ... } ⇒ Object
The “returning” idiom copied from ActiveSupport
4 5 6 |
# File 'lib/tracksperanto/returning.rb', line 4 def returning(r) yield(r); r end |