Class: Xberg::Attributes
- Inherits:
-
Object
- Object
- Xberg::Attributes
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#classes ⇒ Array[String]
readonly
Returns the value of attribute classes.
-
#id ⇒ String?
readonly
Returns the value of attribute id.
-
#key_values ⇒ Array[KeyValueAttribute]
readonly
Returns the value of attribute key_values.
Instance Method Summary collapse
-
#initialize ⇒ Attributes
constructor
A new instance of Attributes.
Constructor Details
#initialize ⇒ Attributes
Returns a new instance of Attributes.
42 |
# File 'sig/types.rbs', line 42 def initialize: (?id: String, ?classes: Array[String], ?key_values: Array[KeyValueAttribute]) -> void |
Instance Attribute Details
#classes ⇒ Array[String] (readonly)
Returns the value of attribute classes.
39 40 41 |
# File 'sig/types.rbs', line 39 def classes @classes end |
#id ⇒ String? (readonly)
Returns the value of attribute id.
38 39 40 |
# File 'sig/types.rbs', line 38 def id @id end |
#key_values ⇒ Array[KeyValueAttribute] (readonly)
Returns the value of attribute key_values.
40 41 42 |
# File 'sig/types.rbs', line 40 def key_values @key_values end |