Class: Riffer::Messages::System
- Defined in:
- lib/riffer/messages/system.rb
Overview
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#+(other) ⇒ Object
– : (Riffer::Messages::System) -> Riffer::Messages::System.
-
#role ⇒ Object
– : () -> Symbol.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Riffer::Messages::Base
Instance Method Details
#+(other) ⇒ Object
– : (Riffer::Messages::System) -> Riffer::Messages::System
19 20 21 |
# File 'lib/riffer/messages/system.rb', line 19 def +(other) self.class.new("#{content}\n\n#{other.content}") end |
#role ⇒ Object
– : () -> Symbol
13 14 15 |
# File 'lib/riffer/messages/system.rb', line 13 def role :system end |