Flowdock
method

itself

Importance_1
v4.2.1 - Show latest stable - 0 notes - Class: Object
itself() public

Returns the object itself.

Useful for chaining methods, such as Active Record scopes:

Event.public_send(state.presence_in([ :trashed, :drafted ]) || :itself).order(:created_at)

@return Object

Show source
Register or log in to add new notes.