Sha256: ec4c7f7db68d91dd9e891b6ea0022619440beb23691531d6bc331d9cd72d0923
Contents?: true
Size: 541 Bytes
Versions: 19
Compression:
Stored size: 541 Bytes
Contents
require 'active_support/core_ext/module/delegation' require 'active_support/core_ext/module/attribute_accessors' module Cmor module Core module Configuration def configure yield self end mattr_accessor(:default_markup_options) { { processor: :markdown } } mattr_accessor(:features) { {} } def enable_feature(name, options = {}) @@features[name] = Cmor::Core::Feature.new(name, options) end def features?(name) @@features.has_key?(name) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems