class Guard::Interactor

def self.fabricate

Returns:
  • (Interactor) - an interactor implementation
def self.fabricate
  case @interactor
  when :readline
    ReadlineInteractor.new
  when :simple
    SimpleInteractor.new
  when :off
    nil
  else
    auto_detect
  end
end