Class: IntegerString

Inherits:
String show all
Defined in:
lib/sorbet-rails/custom_types/integer_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



32
33
34
# File 'lib/sorbet-rails/custom_types/integer_string.rb', line 32

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