When I run the following example:
puts "Definition in class A"
class B < A
puts "Definition in class B (subclass of A)"
c = C.new
I get the following error:
TypeError: bind argument must be an instance of A
method bind in c.rb at line 13
method call_original in c.rb at line 13
at top level in c.rb at line 17
Can someone please tell me why it is failing? TIA.