Sha256: 6aca4ba964f4b456dedf7dfda5dfdf3f08a7742c6b6a0c01cc9a32c49ad74764

Contents?: true

Size: 407 Bytes

Versions: 4

Compression:

Stored size: 407 Bytes

Contents

module Tc211::Termbase

class SheetSection
  attr_accessor :sheet_content

  def initialize(rows, options={})
    # rows is an array of rows!
    raise unless rows.is_a?(Array)
    @rows = rows
    # @has_header = options[:has_header].nil? ? true : options[:has_header]
    self
  end

  # Abstract method
  def self.match_header(row)
    false
  end

  def self.identify_type(row)

  end

  # TODO
end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tc211-termbase-0.1.4 lib/tc211/termbase/sheet_section.rb
tc211-termbase-0.1.2 lib/tc211/termbase/sheet_section.rb
tc211-termbase-0.1.1 lib/tc211/termbase/sheet_section.rb
tc211-termbase-0.1.0 lib/tc211/termbase/sheet_section.rb