Class: TurboRex::MSRPC::MIDL::DataType::Enum

Inherits:
TurboRex::MSRPC::MIDL::DataType show all
Defined in:
lib/turborex/msrpc/midl.rb

Instance Attribute Summary collapse

Attributes inherited from TurboRex::MSRPC::MIDL::DataType

#bytesize, #symbol_name

Instance Method Summary collapse

Constructor Details

#initialize(symbol_name, *member) ⇒ Enum

Returns a new instance of Enum.



212
213
214
215
216
# File 'lib/turborex/msrpc/midl.rb', line 212

def initialize(symbol_name, *member)
  @symbol_name = symbol_name
  @member = member
  @attributes = []
end

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



209
210
211
# File 'lib/turborex/msrpc/midl.rb', line 209

def attributes
  @attributes
end

#memberObject (readonly)

Returns the value of attribute member.



210
211
212
# File 'lib/turborex/msrpc/midl.rb', line 210

def member
  @member
end