Class: RubyToUML::UMLInfoGenerator::RelationshipInfo
- Inherits:
-
Struct
- Object
- Struct
- RubyToUML::UMLInfoGenerator::RelationshipInfo
- Defined in:
- lib/ruby_to_uml/uml_info_generator/info_classes.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
Returns the value of attribute object.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#verb ⇒ Object
Returns the value of attribute verb.
Instance Method Summary collapse
Instance Attribute Details
#object ⇒ Object
Returns the value of attribute object
16 17 18 |
# File 'lib/ruby_to_uml/uml_info_generator/info_classes.rb', line 16 def object @object end |
#subject ⇒ Object
Returns the value of attribute subject
16 17 18 |
# File 'lib/ruby_to_uml/uml_info_generator/info_classes.rb', line 16 def subject @subject end |
#verb ⇒ Object
Returns the value of attribute verb
16 17 18 |
# File 'lib/ruby_to_uml/uml_info_generator/info_classes.rb', line 16 def verb @verb end |
Instance Method Details
#to_s ⇒ Object
17 18 19 |
# File 'lib/ruby_to_uml/uml_info_generator/info_classes.rb', line 17 def to_s "#{subject} #{verb} #{object}" end |