Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/restrict_emoji.rb
Instance Method Summary collapse
Instance Method Details
#restrict_emoji(options = {}) ⇒ Object
4 5 6 |
# File 'lib/restrict_emoji.rb', line 4 def restrict_emoji( = {}) self.gsub(/[\u{1F600}-\u{1F6FF}]/, '') end |