Method: Keybox::HighLineUtil#hsay
- Defined in:
- lib/keybox/highline_util.rb
#hsay(output, color_scheme) ⇒ Object
A whole line of input needs a particular color. This makes it easy to have all the ERB happening in one spot to avoid escaping issues.
40 41 42 |
# File 'lib/keybox/highline_util.rb', line 40 def hsay(output,color_scheme) @highline.say("<%= color(%Q{#{output}},'#{color_scheme}') %>") end |