Class: EhbrsRubyUtils::Bga::Table::WhatsappFormatters::Ending
- Inherits:
-
Base
- Object
- Base
- EhbrsRubyUtils::Bga::Table::WhatsappFormatters::Ending
show all
- Defined in:
- lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/ending.rb,
lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/ending/format_player.rb
Defined Under Namespace
Classes: FormatPlayer
Constant Summary
collapse
- PLAYERS_TITLE =
'Resultado'
- ROOT_ITEMS_TITLE =
'Mesa terminada'
- TITLE_ICON =
0x1F3C6.chr(::Encoding::UTF_8)
Constants inherited
from Base
Base::PLAYERS_EXTRA, Base::ROOT_ITENS, Base::SECTION_SEPARATOR
Instance Method Summary
collapse
Methods inherited from Base
#image_local_path, #options, #options_to_s, #players, #players_to_s, #root_items_to_s, #title_to_s, #to_s
Instance Method Details
#game_conceded_to_s ⇒ String
16
17
18
|
# File 'lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/ending.rb', line 16
def game_conceded_to_s
table.game_conceded? ? "*Derrota admitida*\n\n" : ''
end
|
21
22
23
|
# File 'lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/ending.rb', line 21
def
game_conceded_to_s
end
|
#players_title ⇒ String
26
27
28
|
# File 'lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/ending.rb', line 26
def players_title
PLAYERS_TITLE
end
|
#root_items_title ⇒ String
31
32
33
|
# File 'lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/ending.rb', line 31
def root_items_title
ROOT_ITEMS_TITLE
end
|
#title_icon ⇒ String
36
37
38
|
# File 'lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/ending.rb', line 36
def title_icon
TITLE_ICON
end
|