require 'using_private' include Using_private f = FooBar.new f.x = 3 if f.blah(4) != 4 raise RuntimeError, "blah(int)" end