Skip to content

Instantly share code, notes, and snippets.

@mojombo
Created July 20, 2008 15:20
Show Gist options
  • Select an option

  • Save mojombo/19 to your computer and use it in GitHub Desktop.

Select an option

Save mojombo/19 to your computer and use it in GitHub Desktop.
class Bar
def self.class_name
name.split(/::/)
end
end
loop { Bar.class_name }
@chhitizlimbu-lang

Copy link
Copy Markdown

  1. _under _

@chhitizlimbu-lang

Copy link
Copy Markdown
<script src="https://gist.github.com/mojombo/19.js"></script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment