Class: RubyIndexer::Entry::SingletonClass
- Inherits:
-
Class
- Object
- RubyIndexer::Entry
- Namespace
- Class
- RubyIndexer::Entry::SingletonClass
- Defined in:
- lib/ruby_indexer/lib/ruby_indexer/entry.rb
Instance Attribute Summary
Attributes inherited from Class
Attributes inherited from Namespace
Attributes inherited from RubyIndexer::Entry
#location, #name, #uri, #visibility
Instance Method Summary collapse
-
#update_singleton_information(location, name_location, comments) ⇒ Object
: (Location location, Location name_location, String? comments) -> void.
Methods inherited from Class
Methods inherited from Namespace
#ancestor_hash, #initialize, #mixin_operation_module_names, #mixin_operations
Methods inherited from RubyIndexer::Entry
#comments, #file_name, #file_path, #initialize, #private?, #protected?, #public?
Constructor Details
This class inherits a constructor from RubyIndexer::Entry::Class
Instance Method Details
#update_singleton_information(location, name_location, comments) ⇒ Object
: (Location location, Location name_location, String? comments) -> void
178 179 180 181 182 |
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 178 def update_singleton_information(location, name_location, comments) @location = location @name_location = name_location (@comments ||= +"") << comments if comments end |