method

handle_invalid_command!

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ARGVScrubber
handle_invalid_command!(argument, argv) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 621
        def handle_invalid_command!(argument, argv)
          if argument == "new"
            yield
          else
            ["--help"] + argv.drop(1)
          end
        end
Register or log in to add new notes.