Permalink
Browse files

extend Enumerable

  • Loading branch information...
1 parent bc2e40a commit d21c8e07d736eb03a74602b866aca8e9e8d6020d @jugyo committed Apr 29, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/named_emoji.rb
View
@@ -517,4 +517,10 @@ module NamedEmoji
def self.[](name)
ALL[name.to_sym]
end
+
+ def self.each(&block)
+ ALL.each(&block)
+ end
+
+ extend Enumerable
end

0 comments on commit d21c8e0

Please sign in to comment.