Sha256: 7e7c0d3b95e920c12b3efff918b5aa940bad8c0dc11a34f718e66b1109cf4a7c
Contents?: true
Size: 487 Bytes
Versions: 9
Compression:
Stored size: 487 Bytes
Contents
# frozen-string-literal: true module Bioshogi module Yomiage class Formatter < OfficialFormatter def str_compact(str) str end def location_name location.yomiage(handicap) + "、" end def piece_name piece.yomiage(false) end def place_name place_to.yomiage end def soldier_name soldier.yomiage end def kw(s) KanjiInfo.fetch(s).yomiage end end end end
Version data entries
9 entries across 9 versions & 1 rubygems