Class: UserConfig::YAMLFile
- Inherits:
-
Object
- Object
- UserConfig::YAMLFile
- Defined in:
- lib/user_config.patch.rb
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
4 5 6 7 |
# File 'lib/user_config.patch.rb', line 4 def [](key) return @cache[key] if defined? @cache[key] @cache[key] || @default[key] end |