Class | Kramdown::Utils::OrderedHash |
In: |
lib/kramdown/utils/ordered_hash.rb
|
Parent: | Object |
A partial hash implementation which preserves the insertion order of the keys.
Note that this class is only used on Ruby 1.8 since the built-in Hash on Ruby 1.9 automatically preserves the insertion order. However, to remain compatibility only the methods defined in this class may be used when working with OrderedHash on Ruby 1.9.