Class: BooleanString

Inherits:
String show all
Defined in:
lib/sorbet-rails/custom_types/boolean_string.rb

Class Method Summary collapse

Methods included from IntegerStringImpl

#_is_a_integer_string?, #instance_of?, #is_a?, #kind_of?

Methods included from BooleanStringImpl

#_is_a_boolean_string?, #instance_of?, #is_a?, #kind_of?

Class Method Details

.===(other) ⇒ Object



29
30
31
# File 'lib/sorbet-rails/custom_types/boolean_string.rb', line 29

def self.===(other)
  other.is_a?(BooleanString)
end