diff options
Diffstat (limited to 'lib/rdoc/ri/ri_util.rb')
-rw-r--r-- | lib/rdoc/ri/ri_util.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rdoc/ri/ri_util.rb b/lib/rdoc/ri/ri_util.rb index 6e52cd069f..d8678c49d7 100644 --- a/lib/rdoc/ri/ri_util.rb +++ b/lib/rdoc/ri/ri_util.rb @@ -64,4 +64,11 @@ class NameDescriptor end end end + + # Return the full class name (with '::' between the components) + # or "" if there's no class name + + def full_class_name + @class_names.join("::") + end end |