<?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>Class: FalseClass</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" /> <script language="JavaScript" type="text/javascript"> // <![CDATA[ function toggleSource( id ) { var elem var link if( document.getElementById ) { elem = document.getElementById( id ) link = document.getElementById( "l_" + id ) } else if ( document.all ) { elem = eval( "document.all." + id ) link = eval( "document.all.l_" + id ) } else return false; if( elem.style.display == "block" ) { elem.style.display = "none" link.innerHTML = "show source" } else { elem.style.display = "block" link.innerHTML = "hide source" } } function openCode( url ) { window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) } // ]]> </script> </head> <body> <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> <td class="file-title"><span class="file-title-prefix">Class</span><br />FalseClass</td> <td align="right"> <table cellspacing=0 cellpadding=2> <tr valign="top"> <td>In:</td> <td> <a href="../files/lib/facets/core/kernel/to_bool_rb.html">lib/facets/core/kernel/to_bool.rb</a> </td> </tr> <tr> <td>Parent:</td> <td> <a href="Object.html"> Object </a> </td> </tr> </table> </td> </tr> </table> <!-- banner header --> <div id="bodyContent"> <div id="content"> <div class="sectiontitle">Methods</div> <ul> <li><a href="#M000047">to_bool</a></li> </ul> <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> <a name="M000047"></a><b>to_bool</b>() </div> <div class="sourcecode"> <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> <div id="M000047_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File lib/facets/core/kernel/to_bool.rb, line 15</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_bool</span> <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> </div> </div> </body> </html>