Class: WebRI::FileEntry

Inherits:
Entry
  • Object
show all
Defined in:
lib/webri.rb

Instance Attribute Summary

Attributes inherited from Entry

#full_name, #paths

Class Method Summary collapse

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(name, path) ⇒ Object

Return a choice for a path.



291
292
293
# File 'lib/webri.rb', line 291

def self.choice(name, path)
  "#{name} (#{path})"
end