Module: Boolean
- Included in:
- FalseClass, TrueClass
- Defined in:
- lib/boolean.rb
Overview
Mixin module that adds no features, but simply includes a @Boolean@ type in the parent class’s heirarchy. This allows you to do things like:
<pre><code>
if variable.kind_of?(Boolean) then
[ ... ]
end
</code></pre>