Class: Cure::Extract::Builder

Inherits:
Object
  • Object
show all
Defined in:
lib/cure/extract/builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(opts) ⇒ Builder

Returns a new instance of Builder.

Parameters:

  • opts (Hash)


13
14
15
# File 'lib/cure/extract/builder.rb', line 13

def initialize(opts)
  @opts = opts
end

Instance Attribute Details

#optsObject (readonly)

Parameters:

  • opts (Hash)


10
11
12
# File 'lib/cure/extract/builder.rb', line 10

def opts
  @opts
end

Instance Method Details

#handle(_sheet, _column_headers) ⇒ Array

This returns changed column headers and sheets

Parameters:

  • _sheet (Array<Array>)
  • _column_headers (Hash<String, Integer>)

Returns:

  • (Array)


22
23
24
# File 'lib/cure/extract/builder.rb', line 22

def handle(_sheet, _column_headers)
  []
end