Class: RI::MethodEntry
- Inherits:
-
Object
- Object
- RI::MethodEntry
- Defined in:
- lib/fastri/ri_index.rb
Overview
Redefine RI::MethodEntry#full_name to use the following notation: Namespace::Foo.singleton_method (instead of ::). RiIndex depends on this to tell singleton methods apart.
Instance Method Summary collapse
Instance Method Details
#full_name ⇒ Object
58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/fastri/ri_index.rb', line 58 def full_name res = @in_class.full_name unless res.empty? if @is_class_method res << "." else res << "#" end end res << @name end |