Class: PortableMoveNotation::Dumper

Inherits:
Move
  • Object
show all
Defined in:
lib/portable_move_notation/dumper.rb

Overview

Dumper class

Class Method Summary collapse

Class Method Details

.call(*moves) ⇒ Object



8
9
10
11
# File 'lib/portable_move_notation/dumper.rb', line 8

def self.call(*moves)
  moves.map { |move| ::Sashite::PAN::Dumper.call(*move.each_slice(4)) }
       .join(separator)
end