Top Level Namespace

Defined Under Namespace

Modules: Ajax, Document, Events, Location, Observable, RedQuery, Singleton Classes: Browser, Cookie, Element, Hash, HistoryIE, HistoryNormal, Interval, JSON, String, Timer

Instance Method Summary collapse

Instance Method Details

#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