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



284
285
286
# File 'lib/gemmy/patches/string_patch.rb', line 284

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