Module: Wtails::Stdin
Constant Summary collapse
- ENTITY_MAP =
{ "<" => "<", ">" => ">", }
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/wtails/stdin.rb', line 10 def run STDIN.each do |line| line = unescape_entity(line) line = strip_ansi_sequence(line) Wtails.channel('-') << line end end |