Sha256: baa85207e9989337f709690d1d8aee3b21648799c90097c5b1ddce5673c3106c

Contents?: true

Size: 860 Bytes

Versions: 3

Compression:

Stored size: 860 Bytes

Contents

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>rstrip_from (String)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre>    <span class="ruby-comment cmt"># File lib/ruby-vpi/util.rb, line 13</span>
13:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rstrip_from</span> <span class="ruby-identifier">char</span>
14:     <span class="ruby-identifier">sub</span>(<span class="ruby-node">/#{char}[^#{char}]*$/</span>, <span class="ruby-value str">''</span>)
15:   <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-vpi-18.0.1 ref/ruby/classes/String.src/M000025.html
ruby-vpi-18.0.2 ref/ruby/classes/String.src/M000025.html
ruby-vpi-19.0.0 ref/ruby/classes/String.src/M000023.html