class ImproveTypography::Processors::WordLineSeparator
Constants
- REGEXP
Public Instance Methods
call()
click to toggle source
# File lib/improve_typography/processors/word_line_separator.rb, line 6 def call return str unless str.match?(REGEXP) str.gsub(REGEXP, "\n") end