Method: Handshake::MethodContract#initialize
- Defined in:
- lib/handshake.rb
#initialize(method_name) ⇒ MethodContract
Returns a new instance of MethodContract.
376 377 378 379 380 381 |
# File 'lib/handshake.rb', line 376 def initialize(method_name) @method_name = method_name @preconditions, @postconditions = [], [] @accepts, @returns = [], [] @block_contract = nil end |