Sha256: 1b4acd477dd2a9384360439f92e11fadfa31fd64a848774ee035b903cffad703
Contents?: true
Size: 394 Bytes
Versions: 2
Compression:
Stored size: 394 Bytes
Contents
module Martinet class << self attr_writer :configuration end def self.configuration @configuration ||= Configuration.new end def self.reset @configuration = Configuration.new end def self.configure yield(configuration) end class Configuration attr_accessor :enable_impersonation def initialize @enable_impersonation = true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
martinet-0.1.1 | lib/martinet/configuration.rb |
martinet-0.1.0 | lib/martinet/configuration.rb |