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)


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

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)


1290
1291
1292
# File 'sig/types.rbs', line 1290

def byte_end
  @byte_end
end

#byte_startInteger (readonly)

Returns the value of attribute byte_start.

Returns:

  • (Integer)


1289
1290
1291
# File 'sig/types.rbs', line 1289

def byte_start
  @byte_start
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1287
1288
1289
# File 'sig/types.rbs', line 1287

def name
  @name
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


1288
1289
1290
# File 'sig/types.rbs', line 1288

def value
  @value
end