Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Shortcut to use methods on aspect for advice logic #12

Open
gcao opened this Issue · 0 comments

1 participant

@gcao
Owner

class TestAspect < Aspector::Base
def do_something
puts 'do_something'
end

before :initialize, :do_something
end

TestAspect.apply(SomeClass)
SomeClass.new

Output:
do_something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.