Class: Languages::ModuleNamespace Abstract
- Inherits:
-
Object
- Object
- Languages::ModuleNamespace
- Defined in:
- lib/kuniri/language/abstract_container/structured_and_oo/module_namespace.rb
Overview
This class is abstract.
Class responsible for handling namespaces, module, package or
anything similar.
Direct Known Subclasses
Instance Method Summary collapse
-
#detect_module(pLine) ⇒ Object
protected
Verify if line has a potential module.
-
#get_module(pLine) ⇒ Object
Get a string and try to find a pattern, that match or not with module.
-
#remove_unnecessary_information(pLine) ⇒ Object
protected
Return an string.
Instance Method Details
#detect_module(pLine) ⇒ Object (protected)
Verify if line has a potential module.
22 23 24 |
# File 'lib/kuniri/language/abstract_container/structured_and_oo/module_namespace.rb', line 22 def detect_module(pLine) raise NotImplementedError end |
#get_module(pLine) ⇒ Object
Get a string and try to find a pattern, that match or not with module.
12 13 14 |
# File 'lib/kuniri/language/abstract_container/structured_and_oo/module_namespace.rb', line 12 def get_module(pLine) raise NotImplementedError end |
#remove_unnecessary_information(pLine) ⇒ Object (protected)
Return an string.
28 29 30 |
# File 'lib/kuniri/language/abstract_container/structured_and_oo/module_namespace.rb', line 28 def remove_unnecessary_information(pLine) raise NotImplementedError end |