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
13
14
15
|
# File 'lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/ending/format_player.rb', line 13
def fields
FIELDS
end
|
#score ⇒ Object
21
22
23
|
# File 'lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/ending/format_player.rb', line 21
def score
"⭐ #{player.score}"
end
|
#table_rank ⇒ Object
17
18
19
|
# File 'lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/ending/format_player.rb', line 17
def table_rank
"*#{player.rank}º*"
end
|