Class: Xberg::Attributes

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAttributes

Returns a new instance of Attributes.

Parameters:



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

def initialize: (?id: String, ?classes: Array[String], ?key_values: Array[KeyValueAttribute]) -> void

Instance Attribute Details

#classesArray[String] (readonly)

Returns the value of attribute classes.

Returns:

  • (Array[String])


39
40
41
# File 'sig/types.rbs', line 39

def classes
  @classes
end

#idString? (readonly)

Returns the value of attribute id.

Returns:

  • (String, nil)


38
39
40
# File 'sig/types.rbs', line 38

def id
  @id
end

#key_valuesArray[KeyValueAttribute] (readonly)

Returns the value of attribute key_values.

Returns:



40
41
42
# File 'sig/types.rbs', line 40

def key_values
  @key_values
end