Class: Yadriggy::C::ForeignMethodType

Inherits:
OptionalRole show all
Defined in:
lib/yadriggy/c/ctypecheck.rb

Overview

Type for foreign methods.

Instance Method Summary collapse

Methods inherited from OptionalRole

#==, #supertype

Methods inherited from Type

#!=, #<=, #copy, #eql?, error_found!, #exact_type, #has_role?, #name, role, #supertype

Constructor Details

#initialize(method_type) ⇒ ForeignMethodType

Returns a new instance of ForeignMethodType.

Parameters:



44
45
46
# File 'lib/yadriggy/c/ctypecheck.rb', line 44

def initialize(method_type)
  super(method_type)
end