Sha256: c08385200552b40decbda99b0b45035099a6555ad28b53ac4c1c8e3eb50df949

Contents?: true

Size: 398 Bytes

Versions: 6

Compression:

Stored size: 398 Bytes

Contents

module Bootswitch
  def self.configure(configuration = Bootswitch::Configuration.new)
    if block_given?
      yield configuration
    end
    @@configuration = configuration
  end
  
  def self.configuration
    @@configuration ||= Bootswitch::Configuration.new
  end
  
  class Configuration
    attr_accessor :theme_method
    
    def initialize
      self.theme_method = nil
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bootswitch-0.0.7 lib/bootswitch/configuration.rb
bootswitch-0.0.5 lib/bootswitch/configuration.rb
bootswitch-0.0.4 lib/bootswitch/configuration.rb
bootswitch-0.0.3 lib/bootswitch/configuration.rb
bootswitch-0.0.2 lib/bootswitch/configuration.rb
bootswitch-0.0.1 lib/bootswitch/configuration.rb