Sha256: f42369a1806fa25b46c8c790a3e8cd783d7ef87cafc3d2fc409234ecb856de57

Contents?: true

Size: 228 Bytes

Versions: 3

Compression:

Stored size: 228 Bytes

Contents

module Niso
  module Utility
    def abort_with(text)
      Logger.error text
      abort
    end

    def exit_with(text)
      Logger.success text
      exit
    end

    def say(text)
      Logger.info text
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
niso-2.0.6 lib/niso/utility.rb
niso-2.0.4 lib/niso/utility.rb
niso-2.0.3 lib/niso/utility.rb