Class: Faker::SlackEmoji
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.activity ⇒ String
Produces a random slack emoji from activity category.
-
.celebration ⇒ String
Produces a random slack emoji from celebration category.
-
.custom ⇒ String
Produces a random slack emoji from custom category.
-
.emoji ⇒ String
Produces a random slack emoji from any category.
-
.food_and_drink ⇒ String
Produces a random slack emoji from food and drink category.
-
.nature ⇒ String
Produces a random slack emoji from nature category.
-
.objects_and_symbols ⇒ String
Produces a random slack emoji from objects and symbols category.
-
.people ⇒ String
Produces a random slack emoji from people category.
-
.travel_and_places ⇒ String
Produces a random slack emoji from travel and places category.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.activity ⇒ String
Produces a random slack emoji from activity category.
67 68 69 |
# File 'lib/faker/default/slack_emoji.rb', line 67 def activity fetch('slack_emoji.activity') end |
.celebration ⇒ String
Produces a random slack emoji from celebration category.
54 55 56 |
# File 'lib/faker/default/slack_emoji.rb', line 54 def celebration fetch('slack_emoji.celebration') end |
.custom ⇒ String
Produces a random slack emoji from custom category.
106 107 108 |
# File 'lib/faker/default/slack_emoji.rb', line 106 def custom fetch('slack_emoji.custom') end |
.emoji ⇒ String
Produces a random slack emoji from any category.
119 120 121 |
# File 'lib/faker/default/slack_emoji.rb', line 119 def emoji parse('slack_emoji.emoji') end |
.food_and_drink ⇒ String
Produces a random slack emoji from food and drink category.
41 42 43 |
# File 'lib/faker/default/slack_emoji.rb', line 41 def food_and_drink fetch('slack_emoji.food_and_drink') end |
.nature ⇒ String
Produces a random slack emoji from nature category.
28 29 30 |
# File 'lib/faker/default/slack_emoji.rb', line 28 def nature fetch('slack_emoji.nature') end |
.objects_and_symbols ⇒ String
Produces a random slack emoji from objects and symbols category.
93 94 95 |
# File 'lib/faker/default/slack_emoji.rb', line 93 def objects_and_symbols fetch('slack_emoji.objects_and_symbols') end |
.people ⇒ String
Produces a random slack emoji from people category.
15 16 17 |
# File 'lib/faker/default/slack_emoji.rb', line 15 def people fetch('slack_emoji.people') end |
.travel_and_places ⇒ String
Produces a random slack emoji from travel and places category.
80 81 82 |
# File 'lib/faker/default/slack_emoji.rb', line 80 def travel_and_places fetch('slack_emoji.travel_and_places') end |