Sha256: d7b9a01fa7121cb6508a14af3460c1e0c66748ab0ac72c94c0752972953c77e0

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

require "esv/version"
require "esv/generator"
require "esv/rails_controller"
require "spreadsheet"

module ESV
  def self.generate
    generator = Generator.new
    yield(generator)
    generator.render
  end

  def self.parse(data)
    fake_file = StringIO.new(data)
    book = Spreadsheet.open(fake_file)
    book.worksheet(0).to_a
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
excel-esv-0.0.3 lib/esv.rb