Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/ditzstr/util.rb
Instance Method Summary collapse
-
#returning(o) {|o| ... } ⇒ Object
k-combinator.
Instance Method Details
#returning(o) {|o| ... } ⇒ Object
k-combinator
2 |
# File 'lib/ditzstr/util.rb', line 2 def returning o; yield o; o end |