Class: PortableMoveNotation::Load
- Inherits:
-
Object
- Object
- PortableMoveNotation::Load
- Defined in:
- lib/portable_move_notation/load.rb
Class Method Summary collapse
Class Method Details
.call(serialized_moves) ⇒ Object
5 6 7 8 9 |
# File 'lib/portable_move_notation/load.rb', line 5 def self.call(serialized_moves) serialized_moves.split('.').map do |serialized_actions| Action::Load.call(serialized_actions) end end |