Class: MessagePack::IDL::IR::ServiceVersion
- Inherits:
-
Object
- Object
- MessagePack::IDL::IR::ServiceVersion
- Defined in:
- lib/msgpack/idl/ir.rb
Instance Attribute Summary collapse
-
#functions ⇒ Object
Returns the value of attribute functions.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version, funcs) ⇒ ServiceVersion
constructor
A new instance of ServiceVersion.
Constructor Details
#initialize(version, funcs) ⇒ ServiceVersion
Returns a new instance of ServiceVersion.
350 351 352 353 |
# File 'lib/msgpack/idl/ir.rb', line 350 def initialize(version, funcs) @version = version @functions = funcs end |
Instance Attribute Details
#functions ⇒ Object
Returns the value of attribute functions.
354 355 356 |
# File 'lib/msgpack/idl/ir.rb', line 354 def functions @functions end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
354 355 356 |
# File 'lib/msgpack/idl/ir.rb', line 354 def version @version end |