Class: ActiveRecordQuery::ChainLink
- Inherits:
-
Struct
- Object
- Struct
- ActiveRecordQuery::ChainLink
- Defined in:
- lib/active_record_query/conditions/chain_link.rb
Overview
Conditions (where or wor) work linking each other, this class identify what are the rules for a link
Instance Attribute Summary collapse
-
#condition ⇒ Object
Returns the value of attribute condition.
-
#options ⇒ Object
Returns the value of attribute options.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#condition ⇒ Object
Returns the value of attribute condition
4 5 6 |
# File 'lib/active_record_query/conditions/chain_link.rb', line 4 def condition @condition end |
#options ⇒ Object
Returns the value of attribute options
4 5 6 |
# File 'lib/active_record_query/conditions/chain_link.rb', line 4 def @options end |
#type ⇒ Object
Returns the value of attribute type
4 5 6 |
# File 'lib/active_record_query/conditions/chain_link.rb', line 4 def type @type end |