Sha256: 2c828736ae7f7243c6c1383cffe3ef08076502fb549f5618ac85429a1449e6d1
Contents?: true
Size: 874 Bytes
Versions: 1
Compression:
Stored size: 874 Bytes
Contents
I18n.load_path = [File.join(File.dirname(__FILE__), "../config/locales/papermill.yml")] + I18n.load_path require 'extensions' Object.send :include, PapermillObjectExtensions Hash.send :include, PapermillHashExtensions File.send :include, PapermillFileExtensions String.send :include, StringToUrlNotFound unless String.instance_methods.include? "to_url" Formtastic::SemanticFormBuilder.send(:include, PapermillFormtasticExtensions) rescue NameError begin require File.join(File.dirname(RAILS_ROOT), "config/initializers/papermill.rb") rescue LoadError require 'papermill/papermill_options' end require 'paperclip' unless defined?(Paperclip) require 'papermill/papermill' require 'papermill/papermill_asset' require 'papermill/form_builder' require 'papermill/papermill_helper' ActionView::Base.send :include, PapermillHelper ActiveRecord::Base.send :include, Papermill
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
papermill-0.16.0 | lib/papermill.rb |