Class: Unisms::Adapter::Stdout
- Defined in:
- lib/unisms/adapter/stdout.rb
Instance Method Summary collapse
Instance Method Details
#deliver(message, to: nil, from: nil) ⇒ Object
5 6 7 8 |
# File 'lib/unisms/adapter/stdout.rb', line 5 def deliver(, to: nil, from: nil) puts ["Sending message '#{}'", to && " to '#{to}'", from && " from '#{from}'", "."].compact.join true end |