Sha256: 91b6dca0e4657d6088250a7276acd68a3097c531eee604e609e9997f8d10d3b4

Contents?: true

Size: 323 Bytes

Versions: 4

Compression:

Stored size: 323 Bytes

Contents

module Tabit
  class Config
    attr_accessor :active_class
    attr_accessor :active_detect

    attr_accessor :builder_class

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

      @builder_class = Tabit::Builder

      instance_eval(&block) if block_given?
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tabit-0.2.1 lib/tabit/config.rb
tabit-0.2.0 lib/tabit/config.rb
tabit-0.1.2 lib/tabit/config.rb
tabit-0.1.1 lib/tabit/config.rb