Don't need this anymore
This commit is contained in:
@@ -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
|
|
||||||
@@ -1,8 +1,6 @@
|
|||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
require 'squib'
|
require 'squib'
|
||||||
require 'pp'
|
require 'pp'
|
||||||
require 'method_log_proxy'
|
|
||||||
|
|
||||||
|
|
||||||
describe Squib do
|
describe Squib do
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user