Module: FEEN::Parser::InHand
- Defined in:
- lib/feen/parser/in_hand.rb
Overview
The pieces in hand module.
Class Method Summary collapse
-
.parse(piece_names_str) ⇒ Array
The list of pieces in hand grouped by players.
Class Method Details
.parse(piece_names_str) ⇒ Array
The list of pieces in hand grouped by players.
20 21 22 23 24 |
# File 'lib/feen/parser/in_hand.rb', line 20 def self.parse(piece_names_str) return [] if piece_names_str == "-" piece_names_str.split(",") end |