Sha256: c2fb56f29aa3b7c69819ce8b2e9b60900c05d6f32a835e770201175e68dec5f5

Contents?: true

Size: 230 Bytes

Versions: 2

Compression:

Stored size: 230 Bytes

Contents

module Docora
  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

2 entries across 2 versions & 1 rubygems

Version Path
docora-0.1.1 lib/docora/utility.rb
docora-0.1.0 lib/docora/utility.rb