Class: Xberg::CodeDataAttribute

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCodeDataAttribute

Returns a new instance of CodeDataAttribute.

Parameters:

  • name: (String)
  • value: (String)
  • byte_start: (Integer)
  • byte_end: (Integer)


1327
# File 'sig/types.rbs', line 1327

def initialize: (name: String, value: String, byte_start: Integer, byte_end: Integer) -> void

Instance Attribute Details

#byte_endInteger (readonly)

Returns the value of attribute byte_end.

Returns:

  • (Integer)


1325
1326
1327
# File 'sig/types.rbs', line 1325

def byte_end
  @byte_end
end

#byte_startInteger (readonly)

Returns the value of attribute byte_start.

Returns:

  • (Integer)


1324
1325
1326
# File 'sig/types.rbs', line 1324

def byte_start
  @byte_start
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1322
1323
1324
# File 'sig/types.rbs', line 1322

def name
  @name
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


1323
1324
1325
# File 'sig/types.rbs', line 1323

def value
  @value
end