module Net::SSH::Test::Extensions::IO

def self.extension_enabled?

def self.extension_enabled?
  @extension_enabled
end

def self.included(base) # :nodoc:

:nodoc:
def self.included(base) # :nodoc:
  base.extend(ClassMethods)
end

def self.with_test_extension(&block)

def self.with_test_extension(&block)
  orig_value = @extension_enabled
  @extension_enabled = true
  begin
    yield
  ensure
    @extension_enabled = orig_value
  end
end