Method: Object#ctxputs
- Defined in:
- lib/ctx.rb
#ctxputs(*args) ⇒ Object
21 22 23 24 25 |
# File 'lib/ctx.rb', line 21 def ctxputs(*args) ctxs = @@contexts.map(&:name)[1..-1].join(":") ctxs = "[CTX #{ctxs}] " unless ctxs.empty? puts "#{ctxs}#{args.map(&:to_s).join(', ')}" end |