Skip to content

Instantly share code, notes, and snippets.

@haileys
Created November 11, 2013 04:34
Show Gist options
  • Save haileys/7407916 to your computer and use it in GitHub Desktop.
Save haileys/7407916 to your computer and use it in GitHub Desktop.
class String
prepend Module.new {
def initialize(*)
super
freeze
end
}
end
@antoinelyset
Copy link

❤️

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