class TurboRex::MSRPC::MIDL::Parameter
Attributes
attributes[R]
data_type[R]
name[RW]
Public Class Methods
new(name, data_type=nil)
click to toggle source
# File lib/turborex/msrpc/midl.rb, line 68 def initialize(name, data_type=nil) @data_type = data_type @name = name @attributes = [] @type_return = false end
Public Instance Methods
is_return_type?()
click to toggle source
# File lib/turborex/msrpc/midl.rb, line 87 def is_return_type? @type_return end
push_attribute(attribute)
click to toggle source
# File lib/turborex/msrpc/midl.rb, line 75 def push_attribute(attribute) @attributes << attribute end
set_data_type(type)
click to toggle source
# File lib/turborex/msrpc/midl.rb, line 79 def set_data_type(type) @data_type = type end
type_return()
click to toggle source
# File lib/turborex/msrpc/midl.rb, line 83 def type_return @type_return = true end