Class: WebRI::SingletonMethodEntry
Instance Attribute Summary
Attributes inherited from Entry
Class Method Summary collapse
-
.choice(full_name, path) ⇒ Object
Return a choice string for a path.
Methods inherited from Entry
choices, full_name_for_choice, #initialize, uri
Constructor Details
This class inherits a constructor from WebRI::Entry
Class Method Details
.choice(full_name, path) ⇒ Object
Return a choice string for a path.
300 301 302 303 304 |
# File 'lib/webri.rb', line 300 def self.choice(full_name, path) class_name, _ = path.split('.html#method-c-') class_name.gsub!('/', '::') "#{full_name} (in #{class_name})" end |