Class: Lutaml::Uml::Operation
- Inherits:
-
Object
- Object
- Lutaml::Uml::Operation
- Includes:
- HasAttributes, HasMembers
- Defined in:
- lib/lutaml/uml/operation.rb
Instance Attribute Summary collapse
-
#definition ⇒ Object
Returns the value of attribute definition.
-
#name ⇒ Object
Returns the value of attribute name.
-
#parameter_type ⇒ Object
Returns the value of attribute parameter_type.
-
#return_type ⇒ Object
Returns the value of attribute return_type.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Operation
constructor
rubocop:disable Rails/ActiveRecordAliases.
Methods included from HasMembers
Methods included from HasAttributes
Constructor Details
#initialize(attributes = {}) ⇒ Operation
rubocop:disable Rails/ActiveRecordAliases
15 16 17 |
# File 'lib/lutaml/uml/operation.rb', line 15 def initialize(attributes = {}) update_attributes(attributes) end |
Instance Attribute Details
#definition ⇒ Object
Returns the value of attribute definition.
9 10 11 |
# File 'lib/lutaml/uml/operation.rb', line 9 def definition @definition end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/lutaml/uml/operation.rb', line 9 def name @name end |
#parameter_type ⇒ Object
Returns the value of attribute parameter_type.
9 10 11 |
# File 'lib/lutaml/uml/operation.rb', line 9 def parameter_type @parameter_type end |
#return_type ⇒ Object
Returns the value of attribute return_type.
9 10 11 |
# File 'lib/lutaml/uml/operation.rb', line 9 def return_type @return_type end |