Class: Droonga::OutputMessage
- Inherits:
-
Object
- Object
- Droonga::OutputMessage
- Defined in:
- lib/droonga/output_message.rb
Instance Method Summary collapse
- #adapted_message ⇒ Object
- #body ⇒ Object
- #body=(body) ⇒ Object
-
#initialize(raw_message) ⇒ OutputMessage
constructor
A new instance of OutputMessage.
Constructor Details
#initialize(raw_message) ⇒ OutputMessage
Returns a new instance of OutputMessage.
18 19 20 |
# File 'lib/droonga/output_message.rb', line 18 def initialize() = end |
Instance Method Details
#adapted_message ⇒ Object
22 23 24 25 26 27 |
# File 'lib/droonga/output_message.rb', line 22 def # TODO: We can create adapted message non-destructively. # If it is not performance issue, it is better that we don't # change message destructively. Consider about it later. end |
#body ⇒ Object
29 30 31 |
# File 'lib/droonga/output_message.rb', line 29 def body ["body"] end |
#body=(body) ⇒ Object
33 34 35 |
# File 'lib/droonga/output_message.rb', line 33 def body=(body) ["body"] = body end |