Method: TermColor::RuleSet#print
- Defined in:
- lib/term_color/rule_set.rb
#print(*args, **opts) ⇒ Object
Wraps STDOUT print method, passing output of apply to print
168 169 170 171 172 |
# File 'lib/term_color/rule_set.rb', line 168 def print(*args,**opts) stdout = opts.fetch(:out, $stdout) t = args.map{|a|apply(a)} stdout.print *t end |