Sha256: 8e599354cfdc53a5c83a0264d13342bf36112dc552c9ab1664dcce56e9303893

Contents?: true

Size: 797 Bytes

Versions: 2

Compression:

Stored size: 797 Bytes

Contents

class Expectr
  module Errstr
    EXPECT_WRONG_TYPE = "Pattern should be of class String, Regexp, or Hash"
    ALREADY_INTERACT  = "Already in interact mode"
  end

  module Child
    module Errstr
      STRING_FILE_EXPECTED = "Command should be of type String or File"
      PROCESS_NOT_RUNNING  = "No process is running"
      PROCESS_GONE         = "Child process no longer exists"
    end
  end

  module Adopt
    module Errstr
      IO_EXPECTED = "Arguments of type IO expected"
    end
  end

  class Interpreter
    module Errstr
      BOOLEAN_OR_FIXNUM   = "Boolean or Fixnum expected, received a %s"
      PROCESS_NOT_RUNNING = "No process is running"
    end
  end

  module Lambda
    module Errstr
      PROC_EXPECTED = "Proc Objects expected for reader and writer"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
expectr-2.0.2 lib/expectr/errstr.rb
expectr-2.0.1 lib/expectr/errstr.rb