Module: PortableMoveNotation

Defined in:
lib/portable_move_notation.rb,
lib/portable_move_notation/dump.rb,
lib/portable_move_notation/load.rb,
lib/portable_move_notation/action/dump.rb,
lib/portable_move_notation/action/load.rb

Overview

Portable Move Notation module

Defined Under Namespace

Modules: Action Classes: Dump, Load

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)
  Dump.call(*moves)
end

.load(pmn_string) ⇒ Object



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

def self.load(pmn_string)
  Load.call(pmn_string)
end