Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "fix access priorities of each level in LeveledOptions"
- Loading branch information
1 parent
42126a2
commit 30c12ca
Showing
2 changed files
with
1 addition
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ def shift | |
end | ||
|
||
def [](key) | ||
@set.reverse_each do |o| | ||
@set.each do |o| | ||
if o.key? key | ||
return o[key] | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters