Class: Meth
- Inherits:
-
Object
- Object
- Meth
- Defined in:
- lib/ruby_doc/data/method.rb
Constant Summary collapse
- @@all =
[]
Instance Attribute Summary collapse
-
#documentation ⇒ Object
properties=========================.
-
#name ⇒ Object
properties=========================.
-
#type ⇒ Object
properties=========================.
-
#url ⇒ Object
properties=========================.
Class Method Summary collapse
- .all ⇒ Object
-
.find_by(url) ⇒ Object
find=============================.
Instance Method Summary collapse
-
#initialize(type = "n/a", name, url) ⇒ Meth
constructor
count 1839.
Constructor Details
#initialize(type = "n/a", name, url) ⇒ Meth
count 1839
9 10 11 12 13 14 |
# File 'lib/ruby_doc/data/method.rb', line 9 def initialize(type="n/a", name, url) self.type = type self.name = name self.url = url @@all << self end |
Instance Attribute Details
#documentation ⇒ Object
properties=========================
3 4 5 |
# File 'lib/ruby_doc/data/method.rb', line 3 def documentation @documentation end |
#name ⇒ Object
properties=========================
3 4 5 |
# File 'lib/ruby_doc/data/method.rb', line 3 def name @name end |
#type ⇒ Object
properties=========================
3 4 5 |
# File 'lib/ruby_doc/data/method.rb', line 3 def type @type end |
#url ⇒ Object
properties=========================
3 4 5 |
# File 'lib/ruby_doc/data/method.rb', line 3 def url @url end |