Class OrderedHash
In: lib/nanoc/base/ordered_hash.rb
Parent: ::Hash

AUTHOR

   jan molic /mig/at/1984/dot/cz/

DESCRIPTION

   Hash with preserved order and some array-like extensions
   Public domain.

THANKS

   Andrew Johnson for his suggestions and fixes of Hash[],
   merge, to_a, inspect and shift

Methods

==   []   []=   __class__   class   clear   delete   delete_if   each   each_key   each_pair   each_value   each_with_index   first   inspect   invert   keys   last   merge   merge!   new   pop   push   reject   reject!   replace   select   shift   store   store_only   to_a   to_s   to_yaml   unshift   update   values   yaml_inline!   yaml_inline=  

External Aliases

store -> orig_store

Attributes

order  [RW] 
to_yaml_style  [RW] 

Public Class methods

Public Instance methods

[]=(a,b)

Alias for store

each_pair()

Alias for each

merge!(hsh2)

Alias for update

[Validate]