Sha256: 7f951f8eb27dacf12b1b2c91b1abc9f07c14cd2e8c432215caa77261a3142081

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

unless defined?(RedCloth::Rails::Version)
  require File.join(File.dirname(__FILE__), 'redcloth-rails/version.rb')
end

module RedCloth
  module Rails

    if defined?(::Rails) && ::Rails.version.to_f >= 3.1
      require File.join(File.dirname(__FILE__), 'redcloth-rails/engine.rb')
    else
      raise 'Rails >= 3.1 is required'
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redcloth-rails-0.1.1 lib/redcloth-rails.rb
redcloth-rails-0.1.0 lib/redcloth-rails.rb