ostruct.rb

Path: lib/more/facets/ostruct.rb
Last Update: Thu Jun 24 13:18:25 +0000 2010

OpenStruct

Ruby‘s standard OpenStruct with a few extensions added-in.

Auhtors

  • Thomas Sawyer

Copying

Copyright (c) 2005 Thomas Sawyer, George Moschovitis

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.

History

  • 2006-11-04 trans Deprecate instance in favor of instance_delegate.
  • 2007-04-15 trans Filled out with actual methods, used "ostruct_" for some accessors.

Required files

ostruct  

[Validate]