Sha256: ff0a1e91460ac4f6fe225f2ab044b36666d80dd7b52e67056b244c4c35cebaf0

Contents?: true

Size: 221 Bytes

Versions: 6

Compression:

Stored size: 221 Bytes

Contents

module Minke
  module Helpers
    class Error
      ##
      # fatal_error aborts the current execute with the given message
      def fatal_error message
        abort message.colorize(:red)
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
minke-1.13.5 lib/minke/helpers/error.rb
minke-1.13.4 lib/minke/helpers/error.rb
minke-1.13.3 lib/minke/helpers/error.rb
minke-1.13.2 lib/minke/helpers/error.rb
minke-1.13.1 lib/minke/helpers/error.rb
minke-1.13.0 lib/minke/helpers/error.rb