Skip to content

Instantly share code, notes, and snippets.

@sevperez
Created March 1, 2018 08:57
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/64a3bd9e1842ab3d8268455e543d6fde to your computer and use it in GitHub Desktop.
Save sevperez/64a3bd9e1842ab3d8268455e543d6fde to your computer and use it in GitHub Desktop.
module MyModule
def self.module_inspect_self
p self
end
end
class MyClass
def instance_inspect_self
p self
end
def self.class_inspect_self
p self
end
end
MyClass.class_inspect_self # MyClass
MyModule.module_inspect_self # MyModule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment