Class: Object

Inherits:
BasicObject
Defined in:
lib/ditz/util.rb

Instance Method Summary collapse

Instance Method Details

#returning(o) {|o| ... } ⇒ Object

k-combinator

Yields:

  • (o)


2
# File 'lib/ditz/util.rb', line 2

def returning o; yield o; o end