Method: Yapt::Move#initialize
- Defined in:
- lib/yapt/move.rb
#initialize(to_move, target) ⇒ Move
Returns a new instance of Move.
10 11 12 |
# File 'lib/yapt/move.rb', line 10 def initialize(to_move, target) @to_move, @target = to_move, target end |