lib/expectr/errstr.rb in expectr-2.0.0 vs lib/expectr/errstr.rb in expectr-2.0.1

- old
+ new

@@ -2,19 +2,19 @@ module Errstr EXPECT_WRONG_TYPE = "Pattern should be of class String, Regexp, or Hash" ALREADY_INTERACT = "Already in interact mode" end - class Child + 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 - class Adopt < Child + module Adopt module Errstr IO_EXPECTED = "Arguments of type IO expected" end end @@ -23,10 +23,10 @@ BOOLEAN_OR_FIXNUM = "Boolean or Fixnum expected, received a %s" PROCESS_NOT_RUNNING = "No process is running" end end - class Lambda + module Lambda module Errstr PROC_EXPECTED = "Proc Objects expected for reader and writer" end end end