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.
442 443 444 445 446 |
# File 'lib/rubyosa/rbosa.rb', line 442 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.
441 442 443 |
# File 'lib/rubyosa/rbosa.rb', line 441 def args @args end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
441 442 443 |
# File 'lib/rubyosa/rbosa.rb', line 441 def result @result end |
Instance Method Details
#inspect ⇒ Object
447 448 449 |
# File 'lib/rubyosa/rbosa.rb', line 447 def inspect "<Method #{name} (#{description})>" end |