module Ftpmock
Constants
- VERSION
when bumping, remember to flush CHANGELOG
Public Class Methods
off!()
click to toggle source
# File lib/ftpmock.rb, line 35 def self.off! NetFtpProxy.off! NetSftpProxy.off! end
on!(&block)
click to toggle source
# File lib/ftpmock.rb, line 29 def self.on!(&block) NetFtpProxy.on! do NetSftpProxy.on!(&block) end end
Public Instance Methods
configuration()
click to toggle source
# File lib/ftpmock/configuration.rb, line 8 def configuration @configuration ||= Configuration.new end
configure() { |configuration| ... }
click to toggle source
# File lib/ftpmock/configuration.rb, line 4 def configure yield configuration end