Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Test
- def initialize code
- @rule = gen_instance code
- end
- def gen_instance code
- puts "instantiating code"
- instantiate code
- end
- end
- class Test2
- def initialize code
- gen_instance code
- end
- def gen_instance code
- puts "instantiating code"
- @rule = instantiate code
- end
- end
Add Comment
Please, Sign In to add comment