Methods

Guard::SimpleInteractor

Simple interactor that that reads user input from standard input.

Public Instance Methods

read_line() click to toggle source

Read a line from stdin with Readline.

# File lib/guard/interactors/simple.rb, line 10
def read_line
  while line = $stdin.gets
    process_input(line.gsub(/^\W*/, '').chomp)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.