Class: ImporteerPlan::MyXls

Inherits:
Importeer show all
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

Methods inherited from Importeer

#commaf, dir, #importeer, #pointf, #sweep

Constructor Details

#initializeMyXls

Returns a new instance of MyXls.



52
53
54
# File 'lib/importeer_plan.rb', line 52

def initialize(*)
	super
end

Instance Method Details

#bronObject



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