Class: Object

Inherits:
BasicObject
Defined in:
lib/nmatrix/monkeys.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

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

Yields:

  • (value)


93
94
95
96
# File 'lib/nmatrix/monkeys.rb', line 93

def returning(value)
  yield(value)
  value
end