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: |
|
|||||||
| Description: | Attic - v0.3 ALPHAA place for Ruby objects to hide instance variables. Alpha NoticeThis library is fresh (est 2009-07-06) and barely tested. It’s fun to use but not reliable yet. In particular:
Example
require 'attic'
String.extend Attic
String.attic :timestamp
a = "anything"
a.timestamp = "1980-11-18"
a.instance_variables # => []
a.timestamp # 1980-11-18
InstallationVia Rubygems, one of:
$ gem install attic
$ gem install delano-attic --source http://gems.github.com/
or via download: Credits
LicenseSee: LICENSE.txt |
|||||||