Class: MessagePack::IDL::IR::Spec
- Inherits:
-
Object
- Object
- MessagePack::IDL::IR::Spec
- Defined in:
- lib/msgpack/idl/ir.rb
Instance Attribute Summary collapse
-
#applications ⇒ Object
readonly
Returns the value of attribute applications.
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
-
#services ⇒ Object
readonly
Returns the value of attribute services.
-
#types ⇒ Object
readonly
Returns the value of attribute types.
Instance Method Summary collapse
- #enums ⇒ Object
-
#initialize(namespace, types, services, applications) ⇒ Spec
constructor
A new instance of Spec.
- #messages ⇒ Object
Constructor Details
#initialize(namespace, types, services, applications) ⇒ Spec
Returns a new instance of Spec.
24 25 26 27 28 29 |
# File 'lib/msgpack/idl/ir.rb', line 24 def initialize(namespace, types, services, applications) @namespace = namespace @types = types @services = services @applications = applications end |
Instance Attribute Details
#applications ⇒ Object (readonly)
Returns the value of attribute applications.
34 35 36 |
# File 'lib/msgpack/idl/ir.rb', line 34 def applications @applications end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
31 32 33 |
# File 'lib/msgpack/idl/ir.rb', line 31 def namespace @namespace end |
#services ⇒ Object (readonly)
Returns the value of attribute services.
33 34 35 |
# File 'lib/msgpack/idl/ir.rb', line 33 def services @services end |
#types ⇒ Object (readonly)
Returns the value of attribute types.
32 33 34 |
# File 'lib/msgpack/idl/ir.rb', line 32 def types @types end |