Class: Lutaml::Uml::Node::Attribute
- Defined in:
- lib/lutaml/uml/node/attribute.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#access ⇒ Object
Returns the value of attribute access.
-
#static ⇒ Object
Returns the value of attribute static.
Attributes included from HasType
Attributes included from HasName
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Attribute
constructor
A new instance of Attribute.
Methods included from HasAttributes
Constructor Details
#initialize(attributes = {}) ⇒ Attribute
Returns a new instance of Attribute.
14 15 16 17 18 |
# File 'lib/lutaml/uml/node/attribute.rb', line 14 def initialize(attributes = {}) @access = "public" super end |
Instance Attribute Details
#access ⇒ Object
Returns the value of attribute access.
20 21 22 |
# File 'lib/lutaml/uml/node/attribute.rb', line 20 def access @access end |
#static ⇒ Object
Returns the value of attribute static.
20 21 22 |
# File 'lib/lutaml/uml/node/attribute.rb', line 20 def static @static end |