dictionary.rb

Path: lib/more/facets/dictionary.rb
Last Update: Tue Apr 05 12:29:58 -0400 2011

Dictionary.rb

Copyright (c) 2005, 2009 Jan Molic, Thomas Sawyer

Ruby License

This module is free software. You may use, modify, and/or redistribute this software under the same terms as Ruby.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Acknowledgments

  • Andrew Johnson (merge, to_a, inspect, shift and Hash[])
  • Jeff Sharpe (reverse and reverse!)
  • Thomas Leitner (has_key? and key?)

Ported from OrderHash 2.0, Copyright (c) 2005 Jan Molic

[Validate]