Class: SafeMe::UncheckedType

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/safe-me/unchecked_type.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



11
12
13
# File 'lib/safe-me/unchecked_type.rb', line 11

def to_s
  "unchecked"
end

#type_of?(obj) ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/safe-me/unchecked_type.rb', line 7

def type_of? obj
  true
end