Module: PortableMoveNotation
- Defined in:
- lib/portable_move_notation.rb,
lib/portable_move_notation/move.rb,
lib/portable_move_notation/dumper.rb,
lib/portable_move_notation/parser.rb
Overview
Portable Move Notation module
Defined Under Namespace
Classes: Dumper, Move, Parser
Class Method Summary
collapse
Class Method Details
.dump(*moves) ⇒ Object
5
6
7
|
# File 'lib/portable_move_notation.rb', line 5
def self.dump(*moves)
Dumper.call(*moves)
end
|
.parse(string) ⇒ Object
9
10
11
|
# File 'lib/portable_move_notation.rb', line 9
def self.parse(string)
Parser.call(string)
end
|