Class: ImporteerPlan::MyXls
- 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 ⇒ MyXls
constructor
A new instance of MyXls.
Methods inherited from Importeer
#commaf, dir, #importeer, #pointf, #sweep
Constructor Details
#initialize ⇒ MyXls
Returns a new instance of MyXls.
52 53 54 |
# File 'lib/importeer_plan.rb', line 52 def initialize(*) super end |
Instance Method Details
#bron ⇒ Object
56 57 58 |
# File 'lib/importeer_plan.rb', line 56 def bron Spreadsheet.open(@path).worksheet(0).to_a.tap{|x| x.shift}.each_slice(size_batch).each end |