Class: RubyDictionary::Method
- Inherits:
-
Object
- Object
- RubyDictionary::Method
- Includes:
- Findable::InstanceMethods
- Defined in:
- lib/ruby_dictionary/method.rb
Constant Summary collapse
- @@all =
[]
Instance Attribute Summary collapse
-
#callseq ⇒ Object
Returns the value of attribute callseq.
-
#description ⇒ Object
Returns the value of attribute description.
-
#examples ⇒ Object
Returns the value of attribute examples.
-
#klass ⇒ Object
Returns the value of attribute klass.
-
#method_type ⇒ Object
Returns the value of attribute method_type.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name = nil, callseq = nil, description = nil, examples = nil, method_type = nil, klass_name = nil, klass = nil) ⇒ Method
constructor
A new instance of Method.
Methods included from Findable::InstanceMethods
Constructor Details
#initialize(name = nil, callseq = nil, description = nil, examples = nil, method_type = nil, klass_name = nil, klass = nil) ⇒ Method
Returns a new instance of Method.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/ruby_dictionary/method.rb', line 6 def initialize(name=nil,callseq=nil,description=nil,examples=nil,method_type=nil, klass_name=nil, klass=nil) @name = name @callseq = callseq @description = description @examples = examples @method_type = method_type @klass_name = klass_name @klass = klass #self.klass=(klass_name) unless klass_name == nil end |
Instance Attribute Details
#callseq ⇒ Object
Returns the value of attribute callseq.
3 4 5 |
# File 'lib/ruby_dictionary/method.rb', line 3 def callseq @callseq end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/ruby_dictionary/method.rb', line 3 def description @description end |
#examples ⇒ Object
Returns the value of attribute examples.
3 4 5 |
# File 'lib/ruby_dictionary/method.rb', line 3 def examples @examples end |
#klass ⇒ Object
Returns the value of attribute klass.
3 4 5 |
# File 'lib/ruby_dictionary/method.rb', line 3 def klass @klass end |
#method_type ⇒ Object
Returns the value of attribute method_type.
3 4 5 |
# File 'lib/ruby_dictionary/method.rb', line 3 def method_type @method_type end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/ruby_dictionary/method.rb', line 3 def name @name end |