method
itself
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
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