Class: OSA::DocMethod
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Attributes inherited from DocItem
Instance Method Summary collapse
-
#initialize(name, description, result, args) ⇒ DocMethod
constructor
A new instance of DocMethod.
- #inspect ⇒ Object
Methods inherited from DocItem
Constructor Details
#initialize(name, description, result, args) ⇒ DocMethod
Returns a new instance of DocMethod.
444 445 446 447 448 |
# File 'lib/rubyosa/rbosa.rb', line 444 def initialize(name, description, result, args) super(name, description) @result = result @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
443 444 445 |
# File 'lib/rubyosa/rbosa.rb', line 443 def args @args end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
443 444 445 |
# File 'lib/rubyosa/rbosa.rb', line 443 def result @result end |
Instance Method Details
#inspect ⇒ Object
449 450 451 |
# File 'lib/rubyosa/rbosa.rb', line 449 def inspect "<Method #{name} (#{description})>" end |