Class: BinStruct::Struct::StructDef

Inherits:
Struct
  • Object
show all
Defined in:
lib/bin_struct/struct.rb

Instance Attribute Summary collapse

Instance Attribute Details

#builderObject

Returns the value of attribute builder

Returns:

  • (Object)

    the current value of builder



108
109
110
# File 'lib/bin_struct/struct.rb', line 108

def builder
  @builder
end

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



108
109
110
# File 'lib/bin_struct/struct.rb', line 108

def default
  @default
end

#optionalObject

Returns the value of attribute optional

Returns:

  • (Object)

    the current value of optional



108
109
110
# File 'lib/bin_struct/struct.rb', line 108

def optional
  @optional
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



108
109
110
# File 'lib/bin_struct/struct.rb', line 108

def options
  @options
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



108
109
110
# File 'lib/bin_struct/struct.rb', line 108

def type
  @type
end