ann.rb

Path: lib/facets/more/ann.rb
Last Update: Tue Sep 09 01:55:47 +0000 2008

annotation.rb

Copyright (c) 2005 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.

History

LOG 2006-11-07 trans Created this ultra-concise version of annotations.

Notes

TODO Might be nice to have a default object of annotation, eg. the next method defined, like how desc annotates a rake task.

TODO The ann(x).name notation is kind of nice. Would like to add that back-in if reasonable. Basically this require heritage to be an OpenObject rather than just a hash.

Authors & Contributors

  • Thomas Sawyer

Required files

facets/core/hash/to_h   facets/core/hash/rekey   facets/core/hash/op_add  

[Validate]