Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/extensions.rb
Overview
Useful functionality that didn’t belong anywhere else
Instance Method Summary collapse
Instance Method Details
#returning(value) {|value| ... } ⇒ Object
3 4 5 6 |
# File 'lib/extensions.rb', line 3 def returning(value) yield(value) value end |