Class: Object
- Inherits:
-
BasicObject
- Includes:
- Conditionator
- Defined in:
- lib/conditionator.rb
Overview
Extends all objects to check for conditions
Class Method Summary
collapse
#load_conditions, #postconditions, #preconditions
Class Method Details
.new(*args) ⇒ Object
10
11
12
13
14
|
# File 'lib/conditionator.rb', line 10
def new *args
o = old_new(*args)
o.load_conditions
o
end
|
8
|
# File 'lib/conditionator.rb', line 8
alias_method :old_new, :new
|