Sha256: fc357796df2cceaa249c12265b5652efcf05165ffd13eeab1f16410408405114

Contents?: true

Size: 513 Bytes

Versions: 5

Compression:

Stored size: 513 Bytes

Contents

require "active_record"

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'make_exportable'))

require 'core'
require 'errors'
require 'exportable_format'
require 'make_exportable_helper'

Dir.foreach(File.join(File.dirname(__FILE__), 'make_exportable', 'exportable_formats')) do |file|
  next unless File.extname(file) == '.rb'
  require File.join('exportable_formats', File.basename(file, '.rb'))
end

$LOAD_PATH.shift

if defined?(ActiveRecord::Base)
  ActiveRecord::Base.send :include, MakeExportable
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
make_exportable-1.1.0 lib/make_exportable.rb
make_exportable-1.0.3 lib/make_exportable.rb
make_exportable-1.0.2 lib/make_exportable.rb
make_exportable-1.0.1 lib/make_exportable.rb
make_exportable-1.0.0 lib/make_exportable.rb