Sha256: 4216331c8b19267c6964aa332192dfd905523ebbb4c2f5c3930c2e6be8de6250
Contents?: true
Size: 400 Bytes
Versions: 8
Compression:
Stored size: 400 Bytes
Contents
module FakeWeb class SocketDelegator #:nodoc: def initialize(delegate=nil) @delegate = nil end def method_missing(method, *args, &block) if @delegate @delegate.send(method, *args, &block) else self.send("my_#{method}", *args, &block) end end def my_closed? @closed ||= true end def my_readuntil(*args) end end end
Version data entries
8 entries across 8 versions & 4 rubygems