Fix docs for HashWithIndifferentAccess
This commit is contained in:
parent
60f712e6ba
commit
10eca91311
|
@ -287,7 +287,7 @@ module Middleman
|
|||
# A hash with indifferent access and magic predicates.
|
||||
# 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'
|
||||
|
|
Loading…
Reference in a new issue