Class: PostgresPR::CommandComplete
- Defined in:
- lib/postgres-pr/message.rb
Constant Summary
Constants inherited from Message
Instance Attribute Summary collapse
-
#cmd_tag ⇒ Object
readonly
Returns the value of attribute cmd_tag.
Instance Method Summary collapse
Methods inherited from Message
create, #dump, dump, read, register_message_type
Instance Attribute Details
#cmd_tag ⇒ Object (readonly)
Returns the value of attribute cmd_tag.
193 194 195 |
# File 'lib/postgres-pr/message.rb', line 193 def cmd_tag @cmd_tag end |
Instance Method Details
#parse(buffer) ⇒ Object
195 196 197 198 199 |
# File 'lib/postgres-pr/message.rb', line 195 def parse(buffer) super do @cmd_tag = buffer.read_cstring end end |