module Soroban::Import
Public Class Methods
rubyXL(path, sheet, bindings)
click to toggle source
Use the RubyXL
gem to load an xlsx file, returning a new Soroban::Sheet
object. Specify the path to the xlsx file, the index of the sheet to be imported, and a hash of name => label bindings.
# File lib/soroban/import/ruby_xl_importer.rb, line 12 def self.rubyXL(path, sheet, bindings) RubyXLImporter.new(path, sheet, bindings).import end