Class: Arel::Nodes::Quoted
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
Arel::Nodes::Unary
|
Defined in: | activerecord/lib/arel/nodes/casted.rb |
Class Method Summary
Instance Attribute Summary
- #infinite? ⇒ Boolean readonly
- #nil? ⇒ Boolean readonly
Unary
- Inherited
#expr, | |
#value | Alias for Unary#expr. |
Node
- Inherited
Instance Method Summary
-
#value_before_type_cast
Alias for Unary#value.
-
#value_for_database
Alias for Unary#value.
Unary
- Inherited
#== | Alias for Unary#eql?. |
#eql?, #hash |
::Arel::Math
- Included
::Arel::OrderPredications
- Included
::Arel::AliasPredication
- Included
::Arel::Predications
- Included
::Arel::Expressions
- Included
Node
- Inherited
#and | Factory method to create an And node. |
#fetch_attribute, #invert, | |
#not | Factory method to create a |
#or | |
#to_sql | FIXME: this method should go away. |
::Arel::FactoryMethods
- Included
#cast, #coalesce, #create_and, #create_false, #create_join, #create_on, #create_string_join, #create_table_alias, #create_true, #grouping, | |
#lower | Create a LOWER() function. |
Constructor Details
This class inherits a constructor from Arel::Nodes::Unary
Instance Attribute Details
#infinite? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'activerecord/lib/arel/nodes/casted.rb', line 43
def infinite? value.respond_to?(:infinite?) && value.infinite? end
#nil? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'activerecord/lib/arel/nodes/casted.rb', line 41
def nil?; value.nil?; end
Instance Method Details
#value_before_type_cast
Alias for Unary#value.
# File 'activerecord/lib/arel/nodes/casted.rb', line 39
alias :value_before_type_cast :value
#value_for_database
Alias for Unary#value.
# File 'activerecord/lib/arel/nodes/casted.rb', line 38
alias :value_for_database :value