Class: ActiveRecordQuery::ChainLink

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#conditionObject

Returns the value of attribute condition

Returns:

  • (Object)

    the current value of condition



4
5
6
# File 'lib/active_record_query/conditions/chain_link.rb', line 4

def condition
  @condition
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



4
5
6
# File 'lib/active_record_query/conditions/chain_link.rb', line 4

def options
  @options
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



4
5
6
# File 'lib/active_record_query/conditions/chain_link.rb', line 4

def type
  @type
end