Sha256: 1ba1b0b85a9335f82776c89b4e9ac5e9a3158555629eab316a50c0664be78974

Contents?: true

Size: 614 Bytes

Versions: 1

Compression:

Stored size: 614 Bytes

Contents

module Osheet

  MIME_TYPE = "application/vnd.ms-excel"

  class << self
    # used to register an appropriate template handler
    # and register a mime type if necessary
    def register
      ::Mime::Type.register MIME_TYPE, :xls if defined? ::Mime::Type
      require 'osheet/template_handler'
    end
  end

end

require 'osheet/associations'
require 'osheet/workbook_element'
require 'osheet/worksheet_element'
require 'osheet/styled_element'
require 'osheet/meta_element'
require 'osheet/instance'
require 'osheet/mixin'

if defined? Rails::Railtie
  require 'osheet/railtie'
end

require 'osheet/workbook'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
osheet-0.5.0 lib/osheet.rb