Class: RubyToUML::UMLInfoGenerator::ASTProcessor
- Inherits:
-
Parser::AST::Processor
- Object
- Parser::AST::Processor
- RubyToUML::UMLInfoGenerator::ASTProcessor
- Defined in:
- lib/ruby_to_uml/uml_info_generator/ast_processor.rb
Instance Attribute Summary collapse
-
#classes ⇒ Object
readonly
Returns the value of attribute classes.
-
#modules ⇒ Object
readonly
Returns the value of attribute modules.
-
#relationships ⇒ Object
readonly
Returns the value of attribute relationships.
Instance Method Summary collapse
-
#initialize ⇒ ASTProcessor
constructor
A new instance of ASTProcessor.
Methods included from ModuleProcesor
Methods included from ClassAndRelationshipsProcessor
Constructor Details
#initialize ⇒ ASTProcessor
Returns a new instance of ASTProcessor.
9 10 11 12 13 |
# File 'lib/ruby_to_uml/uml_info_generator/ast_processor.rb', line 9 def initialize @classes = [] @modules = [] @relationships = [] end |
Instance Attribute Details
#classes ⇒ Object (readonly)
Returns the value of attribute classes.
7 8 9 |
# File 'lib/ruby_to_uml/uml_info_generator/ast_processor.rb', line 7 def classes @classes end |
#modules ⇒ Object (readonly)
Returns the value of attribute modules.
7 8 9 |
# File 'lib/ruby_to_uml/uml_info_generator/ast_processor.rb', line 7 def modules @modules end |
#relationships ⇒ Object (readonly)
Returns the value of attribute relationships.
7 8 9 |
# File 'lib/ruby_to_uml/uml_info_generator/ast_processor.rb', line 7 def relationships @relationships end |