Class: Kramdown::Options::Boolean
- Inherits:
-
Object
- Object
- Kramdown::Options::Boolean
- Defined in:
- lib/kramdown/options.rb
Overview
Helper class introducing a boolean type for specifying boolean values (true
and false
) as option types.
Class Method Summary collapse
-
.===(other) ⇒ Object
Return
true
ifother
is eithertrue
orfalse
.
Class Method Details
.===(other) ⇒ Object
Return true
if other
is either true
or false
34 35 36 |
# File 'lib/kramdown/options.rb', line 34 def self.===(other) FalseClass === other || TrueClass === other end |