Skip to content

Commit

Permalink
Revert "Fix a reference"
Browse files Browse the repository at this point in the history
The sentence itself was not exact, [] and fetch are different. Reverting
in docrails because it has been reworded in master and 3-2-stable,see
98f4aee.

This reverts commit 6987966.
  • Loading branch information
fxn committed Jul 21, 2012
1 parent 5a6f30f commit b669353
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def key?(key)
alias_method :has_key?, :key?
alias_method :member?, :key?

# Fetches the value for the specified key, same as doing <tt>hash[key]</tt>
# Fetches the value for the specified key, same as doing hash[key]
def fetch(key, *extras)
super(convert_key(key), *extras)
end
Expand Down

0 comments on commit b669353

Please sign in to comment.