Module: Gemmy::Patches::StringPatch::InstanceMethods::Subtract

Defined in:
lib/gemmy/patches/string_patch.rb

Instance Method Summary collapse

Instance Method Details

#-(pattern) ⇒ Object

facets removes all instances of a pattern from a string



278
279
280
# File 'lib/gemmy/patches/string_patch.rb', line 278

def -(pattern)
  gsub(pattern, '')
end