Aquarium
Aquarium copied to clipboard
uninitialized constant error
When I create a pointcut like this:
my_pointcuts = Pointcut.new :invocations_of => :all_methods, :on_types => MyClass
It keep giving me this error:
uninitialized constant MyClass (NameError)
Can you help me with that, please?
I'm traveling and won't be able to look at this before the weekend. It could be that Aquarium is incompatible with the version of Ruby you are using. I haven't updated Aquarium in a long time. See the compatibility information in the README.
I updated the project to use Ruby 2.6.3 and rehosted the docs here: https://deanwampler.github.io/open-source/aquarium/index.html (since RubyForge is dead).
You can download a new 0.7.1 gem from rubygems.org.