hacks/observable_method |
module ObservableMethod |
p = proc { puts 'foo!' } p.extend(ObservableMethod)
Public Methods |
Public Methods |
Create an observable method. Works just like Object#method, but returns a Method object that has been extended with ObservableMethod.