renamed io to messaging_io. 100% coverage on the io class
This commit is contained in:
parent
b37918dd05
commit
1518fb2e25
|
@ -38,10 +38,6 @@ module Hydra #:nodoc:
|
||||||
# because the string is not a message.
|
# because the string is not a message.
|
||||||
class UnprocessableMessage < RuntimeError
|
class UnprocessableMessage < RuntimeError
|
||||||
attr_accessor :message
|
attr_accessor :message
|
||||||
# Allow a custom message for the exception.
|
|
||||||
def initialize(message = "Message expected")
|
|
||||||
@message = message
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
|
@ -1,4 +1,4 @@
|
||||||
require 'hydra/io'
|
require 'hydra/messaging_io'
|
||||||
module Hydra #:nodoc:
|
module Hydra #:nodoc:
|
||||||
# Read and write between two processes via pipes. For example:
|
# Read and write between two processes via pipes. For example:
|
||||||
# @pipe = Hydra::Pipe.new
|
# @pipe = Hydra::Pipe.new
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
require 'open3'
|
require 'open3'
|
||||||
require 'hydra/io'
|
require 'hydra/messaging_io'
|
||||||
module Hydra #:nodoc:
|
module Hydra #:nodoc:
|
||||||
# Read and write with an ssh connection. For example:
|
# Read and write with an ssh connection. For example:
|
||||||
# @ssh = Hydra::SSH.new(
|
# @ssh = Hydra::SSH.new(
|
||||||
|
|
Loading…
Reference in New Issue