Sha256: 5d1a1f9630908ca7907600184a264134bc13ba7375e8e831eaf2a7acfbaab798
Contents?: true
Size: 1.07 KB
Versions: 14
Compression:
Stored size: 1.07 KB
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>ensure_max (Integer)</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/integer.rb, line 79</span> 79: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ensure_max</span> <span class="ruby-identifier">aLimit</span> 80: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator">></span> <span class="ruby-identifier">aLimit</span> 81: <span class="ruby-identifier">aLimit</span> 82: <span class="ruby-keyword kw">else</span> 83: <span class="ruby-keyword kw">self</span> 84: <span class="ruby-keyword kw">end</span> 85: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
14 entries across 14 versions & 1 rubygems