Class: E4U::Google::Emoji
Instance Attribute Summary
Attributes inherited from Base::Emoji
#fallback_text
Instance Method Summary
collapse
Methods inherited from Base::Emoji
#alternate?, #cp932, #fallback?, #initialize, #utf8
Instance Method Details
55
|
# File 'lib/e4u/google.rb', line 55
def docomo; nil; end
|
#glyphRefID ⇒ Object
56
|
# File 'lib/e4u/google.rb', line 56
def glyphRefID; nil; end
|
57
|
# File 'lib/e4u/google.rb', line 57
def google; nil; end
|
58
|
# File 'lib/e4u/google.rb', line 58
def id; nil; end
|
59
|
# File 'lib/e4u/google.rb', line 59
def img_from; nil; end
|
#in_proposal ⇒ Object
60
|
# File 'lib/e4u/google.rb', line 60
def in_proposal; nil; end
|
61
|
# File 'lib/e4u/google.rb', line 61
def kddi; nil; end
|
62
|
# File 'lib/e4u/google.rb', line 62
def name; nil; end
|
63
|
# File 'lib/e4u/google.rb', line 63
def oldname; nil; end
|
#proposal? ⇒ Boolean
69
70
71
|
# File 'lib/e4u/google.rb', line 69
def proposal?
in_proposal == 'yes'
end
|
64
|
# File 'lib/e4u/google.rb', line 64
def softbank; nil; end
|
#text_fallback ⇒ Object
65
|
# File 'lib/e4u/google.rb', line 65
def text_fallback; nil; end
|
#text_repr ⇒ Object
66
|
# File 'lib/e4u/google.rb', line 66
def text_repr; nil; end
|
#translate(carrier) ⇒ Object
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
# File 'lib/e4u/google.rb', line 73
def translate carrier
case carrier.to_s.downcase
when 'docomo'
emoji = E4U.docomo.find{ |e| e[:unicode] == docomo }
return emoji.docomo_emoji if emoji
E4U.google.find{ |e| e[:google] == google }.docomo_emoji
when 'kddi'
emoji = E4U.kddi.find{ |e| e[:unicode] == kddi }
return emoji.kddi_emoji if emoji
E4U.google.find{ |e| e[:google] == google }.kddi_emoji
when 'softbank'
emoji = E4U.softbank.find{ |e| e[:unicode] == softbank }
return emoji.softbank_emoji if emoji
E4U.google.find{ |e| e[:google] == google }.softbank_emoji
else
raise ArgumentError
end
end
|
67
|
# File 'lib/e4u/google.rb', line 67
def unicode; nil; end
|