Class: Object

Inherits:
BasicObject
Defined in:
lib/aliyun/oss/extensions.rb

Instance Method Summary collapse

Instance Method Details

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

Yields:

  • (value)


172
173
174
175
# File 'lib/aliyun/oss/extensions.rb', line 172

def returning(value)
  yield(value)
  value
end