Class: MessagePack::IDL::IR::Scope
- Inherits:
-
Object
- Object
- MessagePack::IDL::IR::Scope
- Defined in:
- lib/msgpack/idl/ir.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#service ⇒ Object
readonly
Returns the value of attribute service.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
- #default_scope? ⇒ Boolean
-
#initialize(name, service, version, default) ⇒ Scope
constructor
A new instance of Scope.
Constructor Details
#initialize(name, service, version, default) ⇒ Scope
Returns a new instance of Scope.
412 413 414 415 416 417 |
# File 'lib/msgpack/idl/ir.rb', line 412 def initialize(name, service, version, default) @name = name @service = service @version = version @default = default end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
418 419 420 |
# File 'lib/msgpack/idl/ir.rb', line 418 def name @name end |
#service ⇒ Object (readonly)
Returns the value of attribute service.
418 419 420 |
# File 'lib/msgpack/idl/ir.rb', line 418 def service @service end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
418 419 420 |
# File 'lib/msgpack/idl/ir.rb', line 418 def version @version end |
Instance Method Details
#default_scope? ⇒ Boolean
420 421 422 |
# File 'lib/msgpack/idl/ir.rb', line 420 def default_scope? @default end |