Class: BinStruct::Struct::StructDef

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

Instance Attribute Summary collapse

Instance Attribute Details

#builder ⇒ Object

Returns the value of attribute builder

Returns:

  • (Object) —

    the current value of builder



106
107
108
# File 'lib/bin_struct/struct.rb', line 106

def builder
  @builder
end

#default ⇒ Object

Returns the value of attribute default

Returns:

  • (Object) —

    the current value of default



106
107
108
# File 'lib/bin_struct/struct.rb', line 106

def default
  @default
end

#optional ⇒ Object

Returns the value of attribute optional

Returns:

  • (Object) —

    the current value of optional



106
107
108
# File 'lib/bin_struct/struct.rb', line 106

def optional
  @optional
end

#options ⇒ Object

Returns the value of attribute options

Returns:

  • (Object) —

    the current value of options



106
107
108
# File 'lib/bin_struct/struct.rb', line 106

def options
  @options
end

#type ⇒ Object

Returns the value of attribute type

Returns:

  • (Object) —

    the current value of type



106
107
108
# File 'lib/bin_struct/struct.rb', line 106

def type
  @type
end