module TinyDyno::Extensions::TrueClass
Public Instance Methods
is_a?(other)
click to toggle source
Is the passed value a boolean?
@example Is the value a boolean type?
true.is_a?(Boolean)
@param [ Class ] other The class to check.
@return [ true, false ] If the other is a boolean.
@since 1.0.0
Calls superclass method
# File lib/tiny_dyno/extensions/true_class.rb, line 16 def is_a?(other) if other == ::TinyDyno::Boolean || other.class == ::TinyDyno::Boolean return true end super(other) end