Sha256: fa42273ba2a9a65d11b37a668627b21ecd3cf53b3297b9becd70be933a7f7d9c

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

require 'r_mark/version'
require 'r_mark/railtie' if defined?(Rails)

module RMark
  class ConfigurationError < StandardError; end

  autoload :Handler, 'r_mark/handler'
  autoload :Setting, 'r_mark/setting'

  module Parsers
    autoload :Redcarpet, 'r_mark/parsers/redcarpet'
    autoload :RDiscount, 'r_mark/parsers/rdiscount'
    autoload :Kramdown,  'r_mark/parsers/kramdown'
  end

  class << self
    def setup(&block)
      Setting.instance.setup(&block)
    end

    def setting
      Setting.instance
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
r_mark-0.0.1 lib/r_mark.rb