Hi,

In message "Re: proposal: call_up() for use in redefined methods"
    on 04/04/22, Mark Hubbart <discord / mac.com> writes:

|Okay, maybe someone could clear this up... how exactly will the 
|defadvice stuff work? once you wrap a method, is the wrapper permanent? 

You can stack wrapper methods in a class, so that

|For example, can you:
|
|   class Foo
|     def foo
|       print "foo"
|     end
|     def foo:wrap
|       print ":"; super; print ":"
|     end
|   end
|
|then, later reopen the class and:
|
|   class Foo
|     def foo:wrap
|       print "."; super; print "."
|     end
|   end
|
|...and expect that calling Foo.new.foo will print ".:foo:."

should work as you expected.  I haven't designed the API to remove the
around (and before/after) methods yet.

							matz.