Class: Lutaml::Uml::Node::Field
- Defined in:
- lib/lutaml/uml/node/field.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 = {}) ⇒ Field
constructor
A new instance of Field.
Methods included from HasAttributes
Constructor Details
#initialize(attributes = {}) ⇒ Field
Returns a new instance of Field.
14 15 16 17 18 |
# File 'lib/lutaml/uml/node/field.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/field.rb', line 20 def access @access end |
#static ⇒ Object
Returns the value of attribute static.
20 21 22 |
# File 'lib/lutaml/uml/node/field.rb', line 20 def static @static end |