Class: Gemojione::Categories
- Inherits:
-
Object
- Object
- Gemojione::Categories
- Defined in:
- lib/gemojione/categories.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.all ⇒ Object
3 4 5 |
# File 'lib/gemojione/categories.rb', line 3 def self.all new.all end |
Instance Method Details
#all ⇒ Object
7 8 9 10 11 |
# File 'lib/gemojione/categories.rb', line 7 def all categories.each_with_object({}) do |category, hash| hash[category.capitalize] = mojis_for_category(category) end end |