Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marian13/d3ad68ca358168739278da8aba8ff65d to your computer and use it in GitHub Desktop.
Save marian13/d3ad68ca358168739278da8aba8ff65d to your computer and use it in GitHub Desktop.

Do not accidentally create global methods in Ruby

Here is an example:

do_not_accidentally_create_global_methods_in_ruby_2_7

It is common to make such mistake in spec_helper, Rakefile, etc.

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