diff options
Diffstat (limited to 'railties/lib/rails/commands/version/version_command.rb')
-rw-r--r-- | railties/lib/rails/commands/version/version_command.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/railties/lib/rails/commands/version/version_command.rb b/railties/lib/rails/commands/version/version_command.rb new file mode 100644 index 0000000000..4f3fbfca1b --- /dev/null +++ b/railties/lib/rails/commands/version/version_command.rb @@ -0,0 +1,9 @@ +module Rails + module Command + class VersionCommand < Base + def perform + Rails::Command.invoke :application, [ "--version" ] + end + end + end +end |