Skip to content
Create a gist now

Instantly share code, notes, and snippets.

A =
A.instance_eval { def defined_in_instance_eval; :instance_eval; end }
A.class_eval { def defined_in_class_eval; :class_eval; end } # => :class_eval
A.defined_in_instance_eval # => :instance_eval
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.