Class: RageFlip::Strikethrough
- Inherits:
-
Object
- Object
- RageFlip::Strikethrough
- Defined in:
- lib/rage_flip/strikethrough.rb
Constant Summary collapse
- STRIKETHROUGH_CHAR =
"\u0336"
Class Method Summary collapse
Class Method Details
.process(text) ⇒ Object
5 6 7 |
# File 'lib/rage_flip/strikethrough.rb', line 5 def self.process(text) text.each_char.map { |c| [c, STRIKETHROUGH_CHAR] }.join end |