Class: Jpmobile::Filter::Emoticon::Inner
- Inherits:
-
Base
- Object
- Base
- Jpmobile::Filter::Emoticon::Inner
- Includes:
- ApplyOnlyForMobile
- Defined in:
- lib/jpmobile/filter.rb
Overview
絵文字Inner Unicode数値文字参照とUTF-8を相互に変換
Instance Method Summary (collapse)
Methods included from ApplyOnlyForMobile
#apply_incoming?, #apply_outgoing?
Methods inherited from Base
#after, #apply_incoming?, #apply_outgoing?, #before
Instance Method Details
- (Object) to_external(str, controller)
159 160 161 |
# File 'lib/jpmobile/filter.rb', line 159 def to_external(str, controller) Jpmobile::Emoticon::utf8_to_unicodecr(str) end |
- (Object) to_internal(str, controller)
156 157 158 |
# File 'lib/jpmobile/filter.rb', line 156 def to_internal(str, controller) Jpmobile::Emoticon::unicodecr_to_utf8(str) end |