Class: MessagePack::IDL::IR::ServiceVersion

Inherits:
Object
  • Object
show all
Defined in:
lib/msgpack/idl/ir.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#functionsObject

Returns the value of attribute functions.



354
355
356
# File 'lib/msgpack/idl/ir.rb', line 354

def functions
  @functions
end

#versionObject (readonly)

Returns the value of attribute version.



354
355
356
# File 'lib/msgpack/idl/ir.rb', line 354

def version
  @version
end