Class: EhbrsRubyUtils::Bga::Table::WhatsappFormatters::Ending::FormatPlayer
Constant Summary
collapse
- FIELDS =
%w[table_rank name score].freeze
Base::FormatPlayer::FIELD_SEPARATOR
Instance Method Summary
collapse
#result
Instance Method Details
#fields ⇒ Object
16
17
18
|
# File 'lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/ending/format_player.rb', line 16
def fields
FIELDS
end
|
#score ⇒ Object
24
25
26
|
# File 'lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/ending/format_player.rb', line 24
def score
"⭐ #{player.score}"
end
|
#table_rank ⇒ Object
20
21
22
|
# File 'lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/ending/format_player.rb', line 20
def table_rank
"*#{player.rank}º*"
end
|