Sha256: 55cb5cca25688253fa484fdf7612a2ca03127aee5372c008255e1bb6ff66f44c
Contents?: true
Size: 458 Bytes
Versions: 42
Compression:
Stored size: 458 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(*) puts "Can't initialize a new Rails application within the directory of another, please change to a non-Rails directory first.\n" puts "Type 'rails' for help." exit 1 end end end end
Version data entries
42 entries across 42 versions & 3 rubygems