Class: Nanoc::MutableConfigView

Inherits:
ConfigView show all
Defined in:
lib/nanoc/base/views/mutable_config_view.rb

Constant Summary

Instance Method Summary collapse

Methods inherited from ConfigView

#[], #each, #fetch, #key?

Methods inherited from View

#frozen?

Instance Method Details

#[]=(key, value) ⇒ Object

Sets the value for the given attribute.

Parameters:

  • key (Symbol)

See Also:

  • Hash#[]=


8
9
10
# File 'lib/nanoc/base/views/mutable_config_view.rb', line 8

def []=(key, value)
  @config[key] = value
end