Class: Kabutops::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/kabutops/configuration.rb

Class Method Summary collapse

Class Method Details

.[](key) ⇒ Object



11
12
13
# File 'lib/kabutops/configuration.rb', line 11

def [] key
  configuration[key]
end

.[]=(key, value) ⇒ Object



15
16
17
# File 'lib/kabutops/configuration.rb', line 15

def []= key, value
  configuration[key] = value
end

.config(*args, &block) ⇒ Object



7
8
9
# File 'lib/kabutops/configuration.rb', line 7

def config *args, &block
  configuration.instance_eval &block
end