Class: IDL::Type::Void

Inherits:
IDL::Type show all
Defined in:
lib/ridl/type.rb

Constant Summary

Constants inherited from IDL::Type

Long, LongLong, Octet, Short, ULong, ULongLong, UShort

Instance Method Summary collapse

Methods inherited from IDL::Type

#instantiate, #is_anonymous?, #is_complete?, #is_local?, #is_node?, #is_template?, #resolved_node, #resolved_type, #typeerror, #typename

Instance Method Details

#narrow(obj) ⇒ Object



57
58
59
60
# File 'lib/ridl/type.rb', line 57

def narrow(obj)
  typeerror(obj) unless obj.nil?
  obj
end