Class: PuppetEditorServices::Handler::Base
- Inherits:
-
Object
- Object
- PuppetEditorServices::Handler::Base
- Defined in:
- lib/puppet_editor_services/handler/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#protocol ⇒ Object
readonly
Returns the value of attribute protocol.
Instance Method Summary collapse
- #handle(_message, _context = {}) ⇒ Object abstract
-
#initialize(protocol) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(protocol) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/puppet_editor_services/handler/base.rb', line 8 def initialize(protocol) @protocol = protocol end |
Instance Attribute Details
#protocol ⇒ Object (readonly)
Returns the value of attribute protocol.
6 7 8 |
# File 'lib/puppet_editor_services/handler/base.rb', line 6 def protocol @protocol end |
Instance Method Details
#handle(_message, _context = {}) ⇒ Object
This method is abstract.
13 |
# File 'lib/puppet_editor_services/handler/base.rb', line 13 def handle(, _context = {}); end |