Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ruby exclude inherited methods
> Post.new.methods.count
> Post.new.methods.count - Object.new.methods.count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment