Class: Stock::NullTarget

Inherits:
MiscTarget show all
Defined in:
lib/porp/stock/sourcedest.rb

Overview

Null target literally does nothing. Intended for testing only.

Instance Method Summary (collapse)

Methods inherited from MiscTarget

acquire, #initialize_id, reinit

Methods inherited from SourceDest

#initialize

Methods inherited from MovementTarget

inherited, #reload_attributes

Constructor Details

This class inherits a constructor from Stock::SourceDest

Instance Method Details

- (Object) issue(movement)



93
94
95
# File 'lib/porp/stock/sourcedest.rb', line 93

def issue(movement)
  true
end

- (Object) receive(movement)



101
102
103
# File 'lib/porp/stock/sourcedest.rb', line 101

def receive(movement)
  true
end

- (Object) reverse_issue(movement)



97
98
99
# File 'lib/porp/stock/sourcedest.rb', line 97

def reverse_issue(movement)
  true
end