Module: Telepath::Out
- Defined in:
- lib/telepath/out.rb
Class Method Summary collapse
Class Method Details
.data(*messages) ⇒ Object
9 10 11 |
# File 'lib/telepath/out.rb', line 9 def data * puts .flatten end |
.error(command, *messages) ⇒ Object
13 14 15 |
# File 'lib/telepath/out.rb', line 13 def error command, * raise Clamp::UsageError.new(.flatten.join("\n"), command) end |
.info(*messages) ⇒ Object
5 6 7 |
# File 'lib/telepath/out.rb', line 5 def info * puts .flatten.join ' ' end |