- Inheritance
- < Object
Allows the storage of a Proc passed through ’&’ in a hash.
Note: this may be inefficient, since the hash being used is not necessarily very good. In Observable, efficiency is not too important, since the hash is only accessed when adding and removing listeners, not when notifying.
Methods
Class
Visibility | Signature |
---|---|
public | new (a_proc) |
Instance
Visibility | Signature |
---|---|
public | == (other) |
public | eql? (other) |
public | hash () |
public | to_proc () |
Class Method Detail
new(a_proc)
Creates a new wrapper for a_proc.
Instance Method Detail
==(other)
eql?(other)
Alias for #==