Skip to content

Instantly share code, notes, and snippets.

@mojombo
Created July 20, 2008 15:20
Show Gist options
  • Save mojombo/19 to your computer and use it in GitHub Desktop.
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 }
Copy link

ghost commented Oct 27, 2015

This part requires a bit more thought because it’s easier to choose a theme now than to update your theme later. When you’ve looked at some of the options at the top of the page and ,,

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