Class: Quark::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/quark/config.rb

Class Method Summary collapse

Class Method Details

.allObject



14
15
16
# File 'lib/quark/config.rb', line 14

def self.all()
  @_options
end

.get(key, fallback = nil) ⇒ Object



6
7
8
# File 'lib/quark/config.rb', line 6

def self.get(key, fallback=nil)
  @_options.rget(key, fallback)
end

.set(key, value) ⇒ Object



10
11
12
# File 'lib/quark/config.rb', line 10

def self.set(key, value)
  @_options.rset(key, value)
end