Created
June 8, 2010 12:54
-
-
Save gcao/429965 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class A | |
include Aspect4r | |
before :test, :validate | |
after :test, :handle_result | |
def test value | |
value | |
end | |
def validate value | |
end | |
def handle_result result, value | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment