Class: PacketGen::Types::Fields::FieldDef

Inherits:
Struct
  • Object
show all
Defined in:
lib/packetgen/types/fields.rb

Instance Attribute Summary collapse

Instance Attribute Details

#builderObject

Returns the value of attribute builder

Returns:

  • (Object)

    the current value of builder



111
112
113
# File 'lib/packetgen/types/fields.rb', line 111

def builder
  @builder
end

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



111
112
113
# File 'lib/packetgen/types/fields.rb', line 111

def default
  @default
end

#enumObject

Returns the value of attribute enum

Returns:

  • (Object)

    the current value of enum



111
112
113
# File 'lib/packetgen/types/fields.rb', line 111

def enum
  @enum
end

#optionalObject

Returns the value of attribute optional

Returns:

  • (Object)

    the current value of optional



111
112
113
# File 'lib/packetgen/types/fields.rb', line 111

def optional
  @optional
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



111
112
113
# File 'lib/packetgen/types/fields.rb', line 111

def options
  @options
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



111
112
113
# File 'lib/packetgen/types/fields.rb', line 111

def type
  @type
end