Class: RubyToUML::UMLInfoGenerator::InstanceMethodInfo
- Inherits:
-
Struct
- Object
- Struct
- RubyToUML::UMLInfoGenerator::InstanceMethodInfo
- Defined in:
- lib/ruby_to_uml/uml_info_generator/info_classes.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#parameters ⇒ Object
Returns the value of attribute parameters.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
22 23 24 |
# File 'lib/ruby_to_uml/uml_info_generator/info_classes.rb', line 22 def name @name end |
#parameters ⇒ Object
Returns the value of attribute parameters
22 23 24 |
# File 'lib/ruby_to_uml/uml_info_generator/info_classes.rb', line 22 def parameters @parameters end |
#type ⇒ Object
Returns the value of attribute type
22 23 24 |
# File 'lib/ruby_to_uml/uml_info_generator/info_classes.rb', line 22 def type @type end |
Instance Method Details
#to_s ⇒ Object
23 24 25 |
# File 'lib/ruby_to_uml/uml_info_generator/info_classes.rb', line 23 def to_s "#{type} #{name}(#{parameters.join(', ')})" end |