Sha256: 37cadc5df9d443943f0e880eb575fd200937074c7ccd27d2d4deabf3912902c5

Contents?: true

Size: 960 Bytes

Versions: 6

Compression:

Stored size: 960 Bytes

Contents

module Roo

  VERSION = '1.12.1'

  def self.const_missing(const_name)
    case const_name
    when :Libreoffice
      warn "`Roo::Libreoffice` has been deprecated. Use `Roo::LibreOffice` instead."
      LibreOffice
    when :Openoffice
      warn "`Roo::Openoffice` has been deprecated. Use `Roo::OpenOffice` instead."
      OpenOffice
    when :Csv
      warn "`Roo::Csv` has been deprecated. Use `Roo::CSV` instead."
      CSV
    when :GenericSpreadsheet
      warn "`Roo::GenericSpreadsheet` has been deprecated. Use `Roo::Base` instead."
      Base
    else
      super
    end
  end

  autoload :Spreadsheet,  'roo/spreadsheet'
  autoload :Base,         'roo/base'

  autoload :OpenOffice,   'roo/openoffice'
  autoload :LibreOffice,  'roo/openoffice'
  autoload :Excel,        'roo/excel'
  autoload :Excelx,       'roo/excelx'
  autoload :Excel2003XML, 'roo/excel2003xml'
  autoload :Google,       'roo/google'
  autoload :CSV,          'roo/csv'
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/roo-1.13.2/lib/roo.rb
roo-1.13.2 lib/roo.rb
roo-1.13.1 lib/roo.rb
roo-1.13.0 lib/roo.rb
roo-1.12.2 lib/roo.rb
roo-1.12.1 lib/roo.rb