lib/named_emoji.rb in named_emoji-1.0.2 vs lib/named_emoji.rb in named_emoji-1.0.3

- old
+ new

@@ -515,6 +515,12 @@ ALL = PEOPLE.merge(NATURE).merge(OBJECTS).merge(PLACES).merge(SYMBOLS) def self.[](name) ALL[name.to_sym] end + + def self.each(&block) + ALL.each(&block) + end + + extend Enumerable end