Browse Source

Don't need this anymore

dev
Andy Meneely 11 years ago
parent
commit
069f8edb02
  1. 13
      spec/method_log_proxy.rb
  2. 2
      spec/samples/samples_regression_spec.rb

13
spec/method_log_proxy.rb

@ -1,13 +0,0 @@
class MethodLogProxy
def initialize(strio, client)
@strio = strio
@client = client
end
# Any method called on the client will just be logged and passed through
def method_missing(m, *args, &block)
@strio << "#{method}(#{args})\n"
client.send(m,args)
end
end

2
spec/samples/samples_regression_spec.rb

@ -1,8 +1,6 @@
require 'spec_helper'
require 'squib'
require 'pp'
require 'method_log_proxy'
describe Squib do

Loading…
Cancel
Save