Class: Nsqrb::Frame::Error
- Inherits:
-
Nsqrb::Frame
- Object
- OpenStruct
- Nsqrb::Frame
- Nsqrb::Frame::Error
- Defined in:
- lib/nsqrb/frame/error.rb
Instance Method Summary collapse
-
#initialize(frame) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(frame) ⇒ Error
Returns a new instance of Error.
4 5 6 |
# File 'lib/nsqrb/frame/error.rb', line 4 def initialize(frame) super(content: frame[:data]) end |