Sha256: 1185f31b1aa64d271b7005cec370e32641131068e78772b22c4bcf121fa602ef

Contents?: true

Size: 180 Bytes

Versions: 7

Compression:

Stored size: 180 Bytes

Contents

== String#lchomp

  require 'facets/string/lchomp'

  s = "xxboo"
  r = s.lchomp("xx")
  r.assert == "boo"

== String#lchomp!

  s = "xxboo"
  s.lchomp!("xx")
  s.assert == "boo"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
facets-3.0.0 demo/core/string/lchomp.rdoc
facets-2.9.3 qed/core/string/lchomp.rdoc
facets-2.9.2 qed/core/string/lchomp.rdoc
facets-2.9.1 qed/core/string/lchomp.rdoc
facets-2.9.0 qed/core/string/lchomp.rdoc
facets-2.9.0.pre.2 qed/core/string/lchomp.rdoc
facets-2.9.0.pre.1 qed/core/string/lchomp.rdoc