Module | Attic |
In: |
lib/attic.rb
|
A place to store instance variables.
VERSION | = | '0.5.3' unless defined?(VERSION) |
A class method for defining variables to store in the attic.
Returns the list of attic variable names or if not junk was given, returns the metaclass.
e.g.
String.extend Attic String.attic :timestamp
In this example, attic created two instance methods:
Returns an Array of attic variables for the current class. e.g.
String.extend Attic String.attic :timestamp String.attic_variables # => [:timestamp]