Class: Faker::SlackEmoji

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/slack_emoji.rb

Constant Summary

Constants inherited from Base

Base::Letters, Base::Numbers, Base::ULetters

Class Method Summary collapse

Methods inherited from Base

bothify, fetch, flexible, letterify, method_missing, numerify, parse, rand_in_range, regexify, translate

Class Method Details

.activityObject



21
22
23
# File 'lib/faker/slack_emoji.rb', line 21

def activity
  fetch('slack_emoji.activity')
end

.celebrationObject



17
18
19
# File 'lib/faker/slack_emoji.rb', line 17

def celebration
  fetch('slack_emoji.celebration')
end

.customObject



33
34
35
# File 'lib/faker/slack_emoji.rb', line 33

def custom
  fetch('slack_emoji.custom')
end

.emojiObject



37
38
39
# File 'lib/faker/slack_emoji.rb', line 37

def emoji
  parse('slack_emoji.emoji')
end

.food_and_drinkObject



13
14
15
# File 'lib/faker/slack_emoji.rb', line 13

def food_and_drink
  fetch('slack_emoji.food_and_drink')
end

.natureObject



9
10
11
# File 'lib/faker/slack_emoji.rb', line 9

def nature
  fetch('slack_emoji.nature')
end

.objects_and_symbolsObject



29
30
31
# File 'lib/faker/slack_emoji.rb', line 29

def objects_and_symbols
  fetch('slack_emoji.objects_and_symbols')
end

.peopleObject



5
6
7
# File 'lib/faker/slack_emoji.rb', line 5

def people
  fetch('slack_emoji.people')
end

.travel_and_placesObject



25
26
27
# File 'lib/faker/slack_emoji.rb', line 25

def travel_and_places
  fetch('slack_emoji.travel_and_places')
end