Class: Stomp::Message

Class | Stomp::Message
In: | lib/stomp/message.rb
Parent: | Object

Container class for frames, misnamed technically

### Methods

new to_s

### Attributes

body | [RW] |
command | [RW] |
headers | [RW] |

### Public Class methods

new() {|self| ...}

[Source]

       # File lib/stomp/message.rb, line 7
    7:     def initialize
    8:       yield(self) if block_given?
    9:     end

### Public Instance methods

to_s()

[Source]

        # File lib/stomp/message.rb, line 11
    11:     def to_s
    12:       "<Stomp::Message headers=#{headers.inspect} body='#{body}' command='#{command}' >"
    13:     end

[Validate]