RAA - attic/0.3

attic / 0.3

Short description: A place for Ruby objects to hide instance variables.
Category: Library/Development
Status: alpha
Created: 2009-07-13 22:08:38 GMT
Last update: 2009-07-13 22:08:38 GMT
Owner: delano (Projects of this owner)
Homepage: http://github.com/delano/attic/
Download: http://github.com/delano/attic/tarball/latest
License: BSD-type
Dependency:
Required by: gibbler/0.7.1 A place to hide instance variables.
Description:

Attic - v0.3 ALPHA

A place for Ruby objects to hide instance variables.

Alpha Notice

This library is fresh (est 2009-07-06) and barely tested. It’s fun to use but not reliable yet. In particular:

  • Does not work with Symbols or Fixnum object

Example

    require 'attic'

    String.extend Attic
    String.attic :timestamp

    a = "anything"
    a.timestamp = "1980-11-18"
    a.instance_variables          # => []
    a.timestamp                   # 1980-11-18

Installation

Via Rubygems, one of:

    $ gem install attic
    $ gem install delano-attic --source http://gems.github.com/

or via download:

Credits

  • Delano (@solutious.com)

License

See: LICENSE.txt

Edit this project (for project owner)

back to RAA top