Class: Archimate::DataModel::AnyAttribute
- Inherits:
-
Object
- Object
- Archimate::DataModel::AnyAttribute
show all
- Includes:
- Comparison
- Defined in:
- lib/archimate/data_model/any_attribute.rb
Overview
An instance of any XML attribute for arbitrary content like metadata
Instance Attribute Summary collapse
Instance Method Summary
collapse
Methods included from Comparison
#==, #[], #dig, #each, #hash, included, #pretty_print, #to_h
Constructor Details
#initialize(attribute, value, prefix: "") ⇒ AnyAttribute
19
20
21
22
23
|
# File 'lib/archimate/data_model/any_attribute.rb', line 19
def initialize(attribute, value, prefix: "")
@attribute = attribute
@prefix = prefix
@value = value
end
|
Instance Attribute Details
#attribute ⇒ String
11
|
# File 'lib/archimate/data_model/any_attribute.rb', line 11
model_attr :attribute
|
#prefix ⇒ String
14
|
# File 'lib/archimate/data_model/any_attribute.rb', line 14
model_attr :prefix
|
#value ⇒ String
17
|
# File 'lib/archimate/data_model/any_attribute.rb', line 17
model_attr :value
|