Add the Aquarium::DSL convenience methods
to Object. Only require this file if you
really want these methods on all objects in your runtime! For
example, Rails already adds before
and after
methods to object, so including this file is not compatible!
# File lib/aquarium/aspects/join_point.rb, line 4 def bad_attributes message, options raise Aquarium::Utils::InvalidOptions.new("Invalid attributes. " + message + ". Options were: #{options.inspect}") end