Class: LanguageServer::Project::Module
- Inherits:
-
Node
- Object
- Node
- LanguageServer::Project::Module
show all
- Defined in:
- lib/language_server/project/node.rb
Direct Known Subclasses
Class
Instance Method Summary
collapse
Methods inherited from Node
#==, attribute_names, attributes, #attributes, #eql?, #hash, #local_path, #remote_path
Instance Method Details
#inspect ⇒ Object
86
87
88
|
# File 'lib/language_server/project/node.rb', line 86
def inspect
"<Module #{full_name}#L#{lines.begin}-#{lines.end}>"
end
|
#lines ⇒ Object
82
83
84
|
# File 'lib/language_server/project/node.rb', line 82
def lines
constant.lineno..lineno
end
|
#unshift_namespace(class_or_module) ⇒ Object
78
79
80
|
# File 'lib/language_server/project/node.rb', line 78
def unshift_namespace(class_or_module)
constant.unshift_namespace(class_or_module)
end
|