class method self.exit_on_failure?

Ruby on Rails 3.1.12

Since v3.1.12 Last seen in v3.2.22.5

Available in: v3.1.12 v3.2.22.5

Signature

self.exit_on_failure?()

We want to exit on failure to be kind to other libraries This is only when accessing via CLI

Source
# File railties/lib/rails/commands/application.rb, line 24
      def self.exit_on_failure?
        true
      end

Defined in railties/lib/rails/commands/application.rb line 24 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Generators::AppGenerator

Type at least 2 characters to search.

↑↓ navigate · open · esc close