Skip to content

Commit

Permalink
extend Enumerable
Browse files Browse the repository at this point in the history
  • Loading branch information
jugyo committed Apr 29, 2012
1 parent bc2e40a commit d21c8e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/named_emoji.rb
Expand Up @@ -517,4 +517,10 @@ module NamedEmoji
def self.[](name) def self.[](name)
ALL[name.to_sym] ALL[name.to_sym]
end end

def self.each(&block)
ALL.each(&block)
end

extend Enumerable
end end

0 comments on commit d21c8e0

Please sign in to comment.