# File gofer/messaging/base.rb, line 34 def stub(cls, options={}) opts = {} opts.update(@options) opts.update(options) opts[:method] = stubmethod(opts) destination = destination() return Gofer::Stub.new(destination, cls.to_s, opts) end