Skip to content

Instantly share code, notes, and snippets.

@paulanthonywilson
Created January 25, 2011 11:54
Show Gist options
  • Save paulanthonywilson/794828 to your computer and use it in GitHub Desktop.
Save paulanthonywilson/794828 to your computer and use it in GitHub Desktop.
Object.class_eval do
def self.method_added(name)
raise "You forgot to spell initialize the American way, again." if :initialise == name
end
end
class A
def initialise
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment