Class: Vertica::Protocol::CommandComplete
- Inherits:
-
BackendMessage
- Object
- Message
- BackendMessage
- Vertica::Protocol::CommandComplete
- Defined in:
- lib/vertica/protocol/backend/command_complete.rb
Constant Summary
Constants inherited from BackendMessage
Instance Attribute Summary collapse
-
#tag ⇒ Object
readonly
Returns the value of attribute tag.
Instance Method Summary collapse
-
#initialize(data) ⇒ CommandComplete
constructor
A new instance of CommandComplete.
Methods inherited from BackendMessage
Methods inherited from Message
Constructor Details
#initialize(data) ⇒ CommandComplete
Returns a new instance of CommandComplete.
8 9 10 |
# File 'lib/vertica/protocol/backend/command_complete.rb', line 8 def initialize(data) @tag = data.unpack('Z*').first end |
Instance Attribute Details
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
6 7 8 |
# File 'lib/vertica/protocol/backend/command_complete.rb', line 6 def tag @tag end |