Class: ImporteerPlan::MyTxt
- Defined in:
- lib/importeer_plan.rb
Instance Attribute Summary
Attributes inherited from Importeer
#dir, #initial, #name, #options, #path, #sep, #size_batch
Instance Method Summary collapse
- #bron ⇒ Object
-
#initialize ⇒ MyTxt
constructor
A new instance of MyTxt.
Methods inherited from Importeer
#commaf, dir, #importeer, #pointf, #sweep
Constructor Details
#initialize ⇒ MyTxt
Returns a new instance of MyTxt.
74 75 76 |
# File 'lib/importeer_plan.rb', line 74 def initialize(*) super end |
Instance Method Details
#bron ⇒ Object
78 79 80 |
# File 'lib/importeer_plan.rb', line 78 def bron # Csv.open(@path).worksheet(0).to_a.tap{|x| x.shift}.each_slice(size_batch).each end |