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)

95
96
97
98
# File 'lib/nmatrix/monkeys.rb', line 95

def returning(value)
  yield(value)
  value
end