Class: DotHash::Settings
- Inherits:
-
Properties
- Object
- Properties
- DotHash::Settings
- Defined in:
- lib/dot_hash/settings.rb
Instance Attribute Summary
Attributes inherited from Properties
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*args) ⇒ Settings
constructor
A new instance of Settings.
- #load(*args) ⇒ Object
Methods inherited from Properties
#==, #[], #fetch, #has_key?, #method_missing, #respond_to_missing?, #to_json, #to_s
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class DotHash::Properties
Class Method Details
.load(*args) ⇒ Object
21 22 23 |
# File 'lib/dot_hash/settings.rb', line 21 def load(*args) instance.load(*args) end |
.method_missing(*args, &block) ⇒ Object
13 14 15 |
# File 'lib/dot_hash/settings.rb', line 13 def method_missing(*args, &block) instance.public_send(*args, &block) end |
.respond_to_missing?(*args) ⇒ Boolean
17 18 19 |
# File 'lib/dot_hash/settings.rb', line 17 def respond_to_missing?(*args) instance.respond_to?(*args) end |