Inversion::
MethodUtilities module
A collection of methods for declaring other methods.
class MyClass include Inversion::MethodUtilities singleton_attr_accessor :types end MyClass.types = [ :pheno, :proto, :stereo ]
Public Instance Methods
Creates readers and writers that allow assignment to the attributes of the singleton of the declaring object that correspond to the specified ‘symbols`.
Creates instance variables and corresponding methods that return their values for each of the specified ‘symbols` in the singleton of the declaring object (e.g., class instance variables and methods if declared in a Class).
Creates methods that allow assignment to the attributes of the singleton of the declaring object that correspond to the specified ‘symbols`.