Flowdock
method

handle_version_request!

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ARGVScrubber
handle_version_request!(argument) 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 576
        def handle_version_request!(argument)
          if ["--version", "-v"].include?(argument)
            require "rails/version"
            puts "Rails #{Rails::VERSION::STRING}"
            exit(0)
          end
        end
Register or log in to add new notes.