Skip to content

Instantly share code, notes, and snippets.

@frankjmattia
Created July 6, 2016 17:43
Show Gist options
  • Save frankjmattia/e86de7717a07a1da14c7cc24734ffe88 to your computer and use it in GitHub Desktop.
Save frankjmattia/e86de7717a07a1da14c7cc24734ffe88 to your computer and use it in GitHub Desktop.
How could you make this code more self documenting?
# This effectively hides the `engine_name:install:migrations` task from `$ rake -T`.
Rake::Task["engine_name:install:migrations"].instance_variable_set(:@comments, [])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment