Class: Object
- Inherits:
- BasicObject
- Includes:
- Aquarium::DSL, Aquarium::Extras::DesignByContract
- Defined in:
- lib/aquarium/dsl/object_dsl.rb,
lib/aquarium/extras/design_by_contract.rb
Overview
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!
Method Summary
Methods included from Aquarium::Extras::DesignByContract
disable_all, enable_all, #invariant, #postcondition, #precondition