Sha256: 83723a2e80f7baa40f6504244be8a19e9ef12ba4fee4ed42e22b0a40caaca2a8
Contents?: true
Size: 466 Bytes
Versions: 5
Compression:
Stored size: 466 Bytes
Contents
module Markitup module Rails class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield configuration if block_given? end # Public: Configuration options for the Markitup::Rails module class Configuration attr_accessor :layout, :formatter def initialize @layout = "markitup" @formatter = -> markup { markup } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems