Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module foo
- module bar
- module_level_variable = nil
- def self.do_stuff(baz)
- module_level_variable = baz
- end
- class Monkey
- def jump
- return module_level_variable.method
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement