Method: #returning

Defined in:
lib/red_query/returning.rb

#returning(x, &block) ⇒ Object



1
2
3
4
# File 'lib/red_query/returning.rb', line 1

def returning(x, &block)
  block.call(x)
  return x
end