Sha256: 9d243288437f184e7deea023fa756f7dfd1631ebff91d2c8ce4469e47d74233d

Contents?: true

Size: 522 Bytes

Versions: 6

Compression:

Stored size: 522 Bytes

Contents

require 'active_support/core_ext/module/delegation'
require 'active_support/core_ext/module/attribute_accessors'
require 'active_support/hash_with_indifferent_access'

module Cmor
  module Carousels
    module Configuration
      def configure
        yield self
      end

      mattr_accessor(:carousel_auto_start)

      mattr_accessor(:carousel_interval)

      mattr_accessor(:item_image_styles) { {} }

      mattr_accessor(:markup_languages) { [] }

      mattr_accessor(:default_markup_language)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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