1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/commands/version/version_command.rb

12 lines
209 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2016-05-28 16:04:13 -04:00
module Rails
module Command
class VersionCommand < Base # :nodoc:
2016-05-28 16:04:13 -04:00
def perform
Rails::Command.invoke :application, [ "--version" ]
end
end
end
end