class Object

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!

Public Instance Methods

bad_attributes(message, options) click to toggle source
  # File lib/aquarium/aspects/join_point.rb
4 def bad_attributes message, options
5   raise"Invalid attributes. " + message + ". Options were: #{options.inspect}")
6 end