Class: WebRI::InstanceMethodEntry
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.
311 312 313 314 315 |
# File 'lib/webri.rb', line 311 def self.choice(full_name, path) class_name, _ = path.split('.html#method-i-') class_name.gsub!('/', '::') "#{full_name} (in #{class_name})" end |