module Gemmy::Patches::StringPatch::InstanceMethods::Lchomp

Public Instance Methods

lchomp(match) click to toggle source

facets

# File lib/gemmy/patches/string_patch.rb, line 167
def lchomp(match)
  if index(match) == 0
    self[match.size..-1]
  else
    self.dup
  end
end