Class: Thor::OrderedHash

Class | Thor::OrderedHash
In: | lib/thor/ordered_hash.rb
Parent: | Object

This class is based on the Ruby 1.9 ordered hashes. It keeps the semantics and most of the efficiency of normal hashes while also keeping track of the order in which elements were set.

### Methods

+ [] []= each initialize_copy new values

### Included Modules

Enumerable

### Constants

Node | = | Struct.new(:key, :value, :next, :prev)

### Public Class methods

new()

### Public Instance methods

+(other)
[](key)
[]=(key, value)
each() {|[@first.key, @first.value]| ...}
initialize_copy(other)
values()

[Validate]