Sha256: 6ee13fb2cc48f4f36bbdcfb13b5d901f5ce87999b8e990390ba8964365e8d656
Contents?: true
Size: 1.27 KB
Versions: 4
Compression:
Stored size: 1.27 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>== (FlagSetMaker::Flags)</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 vendor/flag_set_maker.rb, line 63</span> <span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">rhs</span>) <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">rhs</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Flags</span>) <span class="ruby-operator">&&</span> <span class="ruby-ivar">@flag_set</span><span class="ruby-operator">==</span><span class="ruby-identifier">rhs</span>.<span class="ruby-identifier">flag_set</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@value</span><span class="ruby-operator">==</span><span class="ruby-identifier">rhs</span>.<span class="ruby-identifier">to_i</span>() <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
4 entries across 4 versions & 1 rubygems