Class: Konstruo::Boolean
Class Method Summary collapse
Class Method Details
.boolean?(value) ⇒ Boolean
15 16 17 |
# File 'lib/konstruo.rb', line 15 def self.boolean?(value) value.is_a?(TrueClass) || value.is_a?(FalseClass) end |