Sha256: 84016bdde17ebf35c340685cc388f6c4c5402086ae0d97247de60a1cbda69a37
Contents?: true
Size: 763 Bytes
Versions: 15
Compression:
Stored size: 763 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' require 'ehbrs_ruby_utils/bga/table/whatsapp_formatters/base/format_player' module EhbrsRubyUtils module Bga class Table module WhatsappFormatters class Ending < ::EhbrsRubyUtils::Bga::Table::WhatsappFormatters::Base class FormatPlayer < ::EhbrsRubyUtils::Bga::Table::WhatsappFormatters::Base::FormatPlayer acts_as_instance_method FIELDS = %w[table_rank name score].freeze def fields FIELDS end def table_rank "*#{player.rank}º*" end def score "⭐ #{player.score}" end end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems