Class: Arel::Nodes::Casted

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record_query/arel/nodes.rb

Overview

The setter for value is necessary to evaluate when a symbol or proc is passed to it

Instance Attribute Summary collapse

Instance Attribute Details

#value=(value) ⇒ Object (writeonly)

Sets the attribute value

Parameters:

  • value

    the value to set the attribute value to.



6
7
8
# File 'lib/active_record_query/arel/nodes.rb', line 6

def value=(value)
  @value = value
end