Sha256: 1f101b2f7a5b35bcfd76cd895697401aae45cb1ab266e86b57b7302a96a44ccc

Contents?: true

Size: 433 Bytes

Versions: 6

Compression:

Stored size: 433 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(:base_controller) { '::FrontendController' }
      mattr_accessor(:markup_languages) {  %w[ markdown rdoc textile ] }
      mattr_accessor(:default_markup_language) { 'textile' }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cmor_core-0.0.6.pre lib/cmor/core/configuration.rb
cmor_core-0.0.5.pre lib/cmor/core/configuration.rb
cmor_core-0.0.4.pre lib/cmor/core/configuration.rb
cmor_core-0.0.3.pre lib/cmor/core/configuration.rb
cmor_core-0.0.2.pre lib/cmor/core/configuration.rb
cmor_core-0.0.1.pre lib/cmor/core/configuration.rb