Sha256: 4ef4499e40250bbc230009de3b79bb72a25ebee1ae204112b79c6894043907c5
Contents?: true
Size: 1.04 KB
Versions: 4
Compression:
Stored size: 1.04 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>include? (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 83</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">include?</span>(<span class="ruby-identifier">flags</span>) <span class="ruby-keyword kw">return</span> (<span class="ruby-ivar">@value</span><span class="ruby-operator">&</span><span class="ruby-identifier">flags</span>.<span class="ruby-identifier">to_i</span>())<span class="ruby-operator">==</span><span class="ruby-identifier">flags</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