Fix docs for HashWithIndifferentAccess
This commit is contained in:
parent
60f712e6ba
commit
10eca91311
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ module Middleman
|
||||||
# A hash with indifferent access and magic predicates.
|
# A hash with indifferent access and magic predicates.
|
||||||
# Copied from Thor
|
# Copied from Thor
|
||||||
#
|
#
|
||||||
# hash = Middleman::Application.new 'foo' => 'bar', 'baz' => 'bee', 'force' => true
|
# hash = Middleman::Util::HashWithIndifferentAccess.new 'foo' => 'bar', 'baz' => 'bee', 'force' => true
|
||||||
#
|
#
|
||||||
# hash[:foo] #=> 'bar'
|
# hash[:foo] #=> 'bar'
|
||||||
# hash['foo'] #=> 'bar'
|
# hash['foo'] #=> 'bar'
|
||||||
|
|
Loading…
Add table
Reference in a new issue