Class: LogicalQueryParser::Assoc

Inherits:
Object
  • Object
show all
Defined in:
lib/logical_query_parser/assoc.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ Assoc

Returns a new instance of Assoc.



6
7
8
9
# File 'lib/logical_query_parser/assoc.rb', line 6

def initialize(attrs = {})
  @column_mapping = {}
  @structure = {}
end

Instance Attribute Details

#column_mappingObject

Returns the value of attribute column_mapping.



3
4
5
# File 'lib/logical_query_parser/assoc.rb', line 3

def column_mapping
  @column_mapping
end

#currentObject

Returns the value of attribute current.



4
5
6
# File 'lib/logical_query_parser/assoc.rb', line 4

def current
  @current
end

#structureObject

Returns the value of attribute structure.



3
4
5
# File 'lib/logical_query_parser/assoc.rb', line 3

def structure
  @structure
end