Flowdock
method

handle_version_request!

Importance_0
v5.0.0.1 - 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 452
        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.