Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def __binding__
- if is_a?(Module)
- return class_eval "binding"
- end
- unless respond_to? :__binding_impl__
- self.class.class_eval <<-EXTRA
- def __binding_impl__
- binding
- end
- EXTRA
- end
- __binding_impl__
- end
- end
Add Comment
Please, Sign In to add comment