Class: NimbleNodes::Settings

Inherits:
Object
  • Object
show all
Defined in:
lib/nimble_nodes/settings.rb

Class Method Summary collapse

Class Method Details

.[](key) ⇒ Object

Setting accessor

allows NimbleNodes::Settings to be treated as a hash

shortcut for accessing NimbleNodes.settings cache



8
9
10
# File 'lib/nimble_nodes/settings.rb', line 8

def self.[](key)
  cache[key]
end