Sha256: fa59790dc800f544292701e9c771d4a9a985e2baea321201bd4dd10fa71d1009
Contents?: true
Size: 415 Bytes
Versions: 9
Compression:
Stored size: 415 Bytes
Contents
# frozen-string-literal: true module Bioshogi class HandLogs < SimpleDelegator def to_kif_a(options = {}) options = { with_location: false, }.merge(options) collect { |e| e.to_kif(options) } end def to_ki2_a collect { |e| e.to_ki2(with_location: true) } end def to_kif_oneline collect { |e| e.to_kif(with_location: true) }.join(" ") end end end
Version data entries
9 entries across 9 versions & 1 rubygems