Class: Sycsvpro::Joiner
- Inherits:
-
Struct
- Object
- Struct
- Sycsvpro::Joiner
- Defined in:
- lib/sycsvpro/join.rb
Overview
Joiner holds all join data as join columns, positions where to insert the columns from the source file, cols wich are the cols inserted from the source file and the lookup table with keys and associated column values. :call-seq:
Sycsvpro::Joiner.new([1,2], [3,4], [4,5,6], { rows: {} }
Instance Attribute Summary collapse
-
#cols ⇒ Object
Returns the value of attribute cols.
-
#join ⇒ Object
Returns the value of attribute join.
-
#lookup ⇒ Object
Returns the value of attribute lookup.
-
#pos ⇒ Object
Returns the value of attribute pos.
Instance Attribute Details
#cols ⇒ Object
Returns the value of attribute cols
9 10 11 |
# File 'lib/sycsvpro/join.rb', line 9 def cols @cols end |
#join ⇒ Object
Returns the value of attribute join
9 10 11 |
# File 'lib/sycsvpro/join.rb', line 9 def join @join end |
#lookup ⇒ Object
Returns the value of attribute lookup
9 10 11 |
# File 'lib/sycsvpro/join.rb', line 9 def lookup @lookup end |
#pos ⇒ Object
Returns the value of attribute pos
9 10 11 |
# File 'lib/sycsvpro/join.rb', line 9 def pos @pos end |