Class: Nanoc::Core::MutableConfigView
- Inherits:
-
ConfigView
- Object
- View
- ConfigView
- Nanoc::Core::MutableConfigView
- Defined in:
- lib/nanoc/core/mutable_config_view.rb
Instance Method Summary collapse
-
#[]=(key, value) ⇒ Object
Sets the value for the given attribute.
Methods inherited from ConfigView
#[], #_unwrap, #dig, #each, #env_name, #fetch, #initialize, #key?, #output_dir
Methods inherited from View
#_context, #_unwrap, #frozen?, #initialize, #inspect
Methods included from ContractsSupport
enabled?, included, setup_once, warn_about_performance
Constructor Details
This class inherits a constructor from Nanoc::Core::ConfigView
Instance Method Details
#[]=(key, value) ⇒ Object
Sets the value for the given attribute.
11 12 13 |
# File 'lib/nanoc/core/mutable_config_view.rb', line 11 def []=(key, value) @config[key] = value end |