Module: KDomain::Config

Included in:
KDomain
Defined in:
lib/k_domain/config/config.rb,
lib/k_domain/config/configuration.rb

Defined Under Namespace

Classes: Configuration

Instance Method Summary collapse

Instance Method Details

#configurationObject



7
8
9
# File 'lib/k_domain/config/config.rb', line 7

def configuration
  @configuration ||= KDomain::Config::Configuration.new
end

#configure {|configuration| ... } ⇒ Object

Yields:



15
16
17
# File 'lib/k_domain/config/config.rb', line 15

def configure
  yield(configuration)
end

#resetObject



11
12
13
# File 'lib/k_domain/config/config.rb', line 11

def reset
  @configuration = KDomain::Config::Configuration.new
end