class TurboRex::MSRPC::MIDL::Procedure

Attributes

arity[R]
name[RW]
params[R]
proc_num[R]
return_type[R]

Public Class Methods

new(proc_num) click to toggle source
# File lib/turborex/msrpc/midl.rb, line 41
def initialize(proc_num)
  @proc_num = proc_num
  @name = "Proc#{proc_num}"
  @params = []
  @return_type = nil
  @arity = 0
end

Public Instance Methods

push_param(param) click to toggle source
# File lib/turborex/msrpc/midl.rb, line 49
def push_param(param)
  @params << param
  @arity += 1
end
set_return_type(type) click to toggle source
# File lib/turborex/msrpc/midl.rb, line 54
def set_return_type(type)
  @return_type = type
end
typedefs() click to toggle source
# File lib/turborex/msrpc/midl.rb, line 58
def typedefs

end