Class: Setty::Settings
- Inherits:
-
Delegator
- Object
- Delegator
- Setty::Settings
- Defined in:
- lib/setty/settings.rb
Instance Method Summary collapse
- #__getobj__ ⇒ Object
-
#initialize(loader) ⇒ Settings
constructor
A new instance of Settings.
- #reload ⇒ Object
Constructor Details
#initialize(loader) ⇒ Settings
Returns a new instance of Settings.
3 4 5 6 |
# File 'lib/setty/settings.rb', line 3 def initialize(loader) @loader = loader @options = loader. end |
Instance Method Details
#__getobj__ ⇒ Object
8 9 10 |
# File 'lib/setty/settings.rb', line 8 def __getobj__ @options end |
#reload ⇒ Object
12 13 14 |
# File 'lib/setty/settings.rb', line 12 def reload @options = @loader. end |