Class: ZOMG::IDL::Nodes::Operation
- Defined in:
- lib/zomg/idl/nodes/operation.rb
Instance Attribute Summary collapse
-
#attribute ⇒ Object
Returns the value of attribute attribute.
-
#context ⇒ Object
Returns the value of attribute context.
-
#name ⇒ Object
Returns the value of attribute name.
-
#raises ⇒ Object
Returns the value of attribute raises.
-
#returns ⇒ Object
Returns the value of attribute returns.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(attribute, returns, name, params, raises, context) ⇒ Operation
constructor
A new instance of Operation.
Methods inherited from Node
#duhr, #to_i, #to_ruby, #to_ruby_sexp, #to_sexp
Methods included from Visitable
Constructor Details
#initialize(attribute, returns, name, params, raises, context) ⇒ Operation
Returns a new instance of Operation.
6 7 8 9 10 11 12 13 |
# File 'lib/zomg/idl/nodes/operation.rb', line 6 def initialize(attribute, returns, name, params, raises, context) super(params) @attribute = attribute @returns = returns @name = name @raises = raises @context = context end |
Instance Attribute Details
#attribute ⇒ Object
Returns the value of attribute attribute.
5 6 7 |
# File 'lib/zomg/idl/nodes/operation.rb', line 5 def attribute @attribute end |
#context ⇒ Object
Returns the value of attribute context.
5 6 7 |
# File 'lib/zomg/idl/nodes/operation.rb', line 5 def context @context end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/zomg/idl/nodes/operation.rb', line 5 def name @name end |
#raises ⇒ Object
Returns the value of attribute raises.
5 6 7 |
# File 'lib/zomg/idl/nodes/operation.rb', line 5 def raises @raises end |
#returns ⇒ Object
Returns the value of attribute returns.
5 6 7 |
# File 'lib/zomg/idl/nodes/operation.rb', line 5 def returns @returns end |