Method: Contracts::Base#+@
- Defined in:
- lib/contracts.rb
#+@ ⇒ Object
This is the unary “+” operator. It adds the contract to the current_contracts array.
147 148 149 |
# File 'lib/contracts.rb', line 147 def +@ Contracts.current_contracts << self end |