Sha256: 44667f79a02119597722398fbddc249e7e9b7391b8374654ffa6ecb26e1c5df4
Contents?: true
Size: 331 Bytes
Versions: 3
Compression:
Stored size: 331 Bytes
Contents
module Karma class << self attr_accessor :configuration end class Configuration attr_accessor :port, :host def initialize @host = 'localhost' @port = 8080 end end def self.configure yield(configuration) end def self.configuration @@configuration ||= Configuration.new end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
karma-0.1.5 | lib/karma/config.rb |
karma-0.1.4 | lib/karma/config.rb |
karma-0.1.3 | lib/karma/config.rb |