Class: TorigoyaKit::StreamExit
- Inherits:
-
Object
- Object
- TorigoyaKit::StreamExit
- Defined in:
- lib/torigoya_kit/stream_result.rb
Overview
related to MessageKindExit
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message) ⇒ StreamExit
constructor
A new instance of StreamExit.
- #to_s ⇒ Object
Constructor Details
#initialize(message) ⇒ StreamExit
Returns a new instance of StreamExit.
172 173 174 175 176 |
# File 'lib/torigoya_kit/stream_result.rb', line 172 def initialize() = validate end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
177 178 179 |
# File 'lib/torigoya_kit/stream_result.rb', line 177 def end |
Instance Method Details
#to_s ⇒ Object
179 180 181 |
# File 'lib/torigoya_kit/stream_result.rb', line 179 def to_s return "#{self.class}/[#{@message}]" end |