Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 407 Bytes
#require File.dirname(__FILE__) + "/spec/bin/ClrModels.dll"
require File.dirname(__FILE__) + "/lib/caricature.rb"
#require File.dirname(__FILE__) + "/lib/caricature/clr.rb"
# class MyClass; def initialize; puts "in initialize"; end; def self.new; puts "in new"; super; end; end
#
# w = Caricature::Isolation.for(MyClass)
# puts w.class
# #w.when_receiving(:damage).return(5)
# puts w
# #puts w.damage
Jump to Line
Something went wrong with that request. Please try again.