Skip to content

Instantly share code, notes, and snippets.

@sevperez
Created March 1, 2018 08:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sevperez/5857b799569735f4666994ea8fc6c2d5 to your computer and use it in GitHub Desktop.
Save sevperez/5857b799569735f4666994ea8fc6c2d5 to your computer and use it in GitHub Desktop.
def top_level_inspect_self
p self
end
top_level_inspect_self # main
p Object.private_methods.include?(:top_level_inspect_self) # true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment