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


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

def builder
  @builder
end

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default


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

def default
  @default
end

#enumObject

Returns the value of attribute enum

Returns:

  • (Object)

    the current value of enum


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

def enum
  @enum
end

#optionalObject

Returns the value of attribute optional

Returns:

  • (Object)

    the current value of optional


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

def optional
  @optional
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options


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

def options
  @options
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type


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

def type
  @type
end