Class: MessagePack::IDL::IR::InheritedFunction
- Defined in:
- lib/msgpack/idl/ir.rb
Instance Attribute Summary collapse
-
#inherit_func ⇒ Object
readonly
Returns the value of attribute inherit_func.
-
#inherit_version ⇒ Object
readonly
Returns the value of attribute inherit_version.
Attributes inherited from Function
#args, #exceptions, #max_id, #max_required_id, #name, #return_type
Instance Method Summary collapse
- #inherited? ⇒ Boolean
-
#initialize(inherit_version, inherit_func) ⇒ InheritedFunction
constructor
A new instance of InheritedFunction.
Methods inherited from Function
Constructor Details
#initialize(inherit_version, inherit_func) ⇒ InheritedFunction
Returns a new instance of InheritedFunction.
384 385 386 387 388 |
# File 'lib/msgpack/idl/ir.rb', line 384 def initialize(inherit_version, inherit_func) super(inherit_func.name, inherit_func.return_type, inherit_func.args, inherit_func.exceptions) @inherit_version = inherit_version @inherit_func = inherit_func end |
Instance Attribute Details
#inherit_func ⇒ Object (readonly)
Returns the value of attribute inherit_func.
389 390 391 |
# File 'lib/msgpack/idl/ir.rb', line 389 def inherit_func @inherit_func end |
#inherit_version ⇒ Object (readonly)
Returns the value of attribute inherit_version.
389 390 391 |
# File 'lib/msgpack/idl/ir.rb', line 389 def inherit_version @inherit_version end |
Instance Method Details
#inherited? ⇒ Boolean
391 392 393 |
# File 'lib/msgpack/idl/ir.rb', line 391 def inherited? true end |