Class: Jambots::Renderers::MinimalRenderer
- Inherits:
-
Object
- Object
- Jambots::Renderers::MinimalRenderer
- Defined in:
- lib/jambots/renderers/minimal_renderer.rb
Instance Method Summary collapse
Instance Method Details
#render(conversation, &block) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/jambots/renderers/minimal_renderer.rb', line 5 def render(conversation, &block) = block.call puts [:content] rescue Jambots::ChatClientError => e warn "ERROR: #{e.}" exit(1) end |