Sha256: e53d58b4e8a68125481ef131cbc1d84564d8df4d25c77e84ab40bbf4b395d94b

Contents?: true

Size: 222 Bytes

Versions: 1

Compression:

Stored size: 222 Bytes

Contents

module LoadRails
    class RailsNotFound < Exception
      MSG = "Rails not found. Please execute in a Rails project."

      def self.exit_with_message
        puts RailsNotFound::MSG
        exit 1
      end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
load_rails-1.0.0 lib/load_rails/exceptions/rails_not_found.rb