Sha256: 86538321a3a8258bd46ee650381f1b41e2b0495f664e398b35f8f380b254a8df

Contents?: true

Size: 854 Bytes

Versions: 3

Compression:

Stored size: 854 Bytes

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!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=iso-8859-1" />
  <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>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rstrip_from</span> <span class="ruby-identifier">char</span>
    <span class="ruby-identifier">sub</span>(<span class="ruby-node">/#{char}[^#{char}]*$/</span>, <span class="ruby-value str">''</span>)
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-vpi-20.0.0 doc/api/ruby/classes/String.src/M000023.html
ruby-vpi-21.0.0 doc/api/ruby/classes/String.src/M000024.html
ruby-vpi-21.1.0 doc/api/ruby/classes/String.src/M000023.html