Class: Doc
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from DataExtras
all, display, displayMeth, extended, last, list, list, listMeths, nextPage, page2, page3, page4, paginateALL, superSEARCH, uie, uie
Constructor Details
#initialize(name, url) ⇒ Doc
9
10
11
12
13
14
|
# File 'lib/ruby_doc/data/doc.rb', line 9
def initialize(name, url)
self.name = name
self.url = url
@@all << self
self.methods = []
end
|
Instance Attribute Details
#description ⇒ Object
properties=========================
6
7
8
|
# File 'lib/ruby_doc/data/doc.rb', line 6
def description
@description
end
|
#methods ⇒ Object
properties=========================
6
7
8
|
# File 'lib/ruby_doc/data/doc.rb', line 6
def methods
@methods
end
|
#name ⇒ Object
properties=========================
6
7
8
|
# File 'lib/ruby_doc/data/doc.rb', line 6
def name
@name
end
|
#type ⇒ Object
properties=========================
6
7
8
|
# File 'lib/ruby_doc/data/doc.rb', line 6
def type
@type
end
|
#url ⇒ Object
properties=========================
6
7
8
|
# File 'lib/ruby_doc/data/doc.rb', line 6
def url
@url
end
|
Class Method Details
.find(name) ⇒ Object
16
17
18
|
# File 'lib/ruby_doc/data/doc.rb', line 16
def self.find(name)
self.all.find{|doc| doc.name.downcase == name.downcase}
end
|