Sha256: 51ac1bb6656833e1258fd6aa33286627402e5f8f0feec75dadcb5210d35aa4b2
Contents?: true
Size: 456 Bytes
Versions: 124
Compression:
Stored size: 456 Bytes
Contents
# frozen_string_literal: true module Rails module Command class NewCommand < Base # :nodoc: no_commands do def help Rails::Command.invoke :application, [ "--help" ] end end def perform(*) say "Can't initialize a new Rails application within the directory of another, please change to a non-Rails directory first.\n" say "Type 'rails' for help." exit 1 end end end end
Version data entries
124 entries across 117 versions & 11 rubygems