Sha256: c79eca68efac88a0991bcff4c1b74a79ee34a2edfcb620e44832c8e6ac2cc105
Contents?: true
Size: 290 Bytes
Versions: 2
Compression:
Stored size: 290 Bytes
Contents
# -*- encoding : utf-8 -*- require 'megingiard/emojis' require 'megingiard/reset_sequence' module Megingiard # A leaf node representing an emoji class EmojiNode def initialize(emoji_name) @emoji = EMOJIS.fetch(emoji_name) end def to_s @emoji end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
megingiard-0.1.0 | lib/megingiard/emoji_node.rb |
megingiard-0.0.1 | lib/megingiard/emoji_node.rb |