class ReplRunner::NoResultsError
Public Class Methods
new(command, regex, string)
click to toggle source
Calls superclass method
# File lib/repl_runner.rb, line 12 def initialize(command, regex, string) msg = "No result found for command: #{command.inspect}\nIn output: \n #{string.inspect}\n" msg << "Using regex: \n /#{regex}/\n" super(msg) end