Class: EhbrsRubyUtils::Videos::Subtitles::Sanitize::WithPatternMatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/ehbrs_ruby_utils/videos/subtitles/sanitize/with_pattern_matcher.rb

Instance Method Summary collapse

Instance Method Details

#process(line) ⇒ Object



13
14
15
# File 'lib/ehbrs_ruby_utils/videos/subtitles/sanitize/with_pattern_matcher.rb', line 13

def process(line)
  line.gsub(pattern, '')
end