Class: T::UntypedType

Inherits:
Object
  • Object
show all
Defined in:
lib/emery/type.rb

Instance Method Summary collapse

Instance Method Details

#check(value) ⇒ Object



12
13
14
# File 'lib/emery/type.rb', line 12

def check(value)
  T.check_not_nil(self, value)
end

#to_sObject



9
10
11
# File 'lib/emery/type.rb', line 9

def to_s
  "Untyped"
end