Sha256: dfe741303ce3d2dae13c9848dbc306f59a07671b38d8b61dfd746d9470bda7c3

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

module Tabit
  class Config
    attr_accessor :active_class
    attr_accessor :active_detect

    attr_accessor :builder_class

    attr_accessor :heading_class
    attr_accessor :divider_class

    def initialize(&block)
      @active_class = 'active'
      @active_detect = :exclusive

      @builder_class = Tabit::Builder

      @heading_class = 'nav-header'
      @divider_class = 'divider'

      instance_eval(&block) if block_given?
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tabit-0.3.2 lib/tabit/config.rb
tabit-0.3.1 lib/tabit/config.rb