Sha256: d12846a2a6ec0ef1952bc3e3504d777e68e85b38f47587a3a086cae71947993e
Contents?: true
Size: 511 Bytes
Versions: 15
Compression:
Stored size: 511 Bytes
Contents
# frozen_string_literal: true require "rfix" require "cli/ui" module Rfix::Log def say(message) CLI::UI.puts("{{v}} #{message}") end def say_error(message) CLI::UI.puts("{{x}} #{message}") end def say_error_sub(message) CLI::UI.puts("#{message}") end def say_debug(message) CLI::UI.puts("{{*}} #{message}") end def say_abort(message) CLI::UI.puts("{{x}} #{message}") exit 1 end def say_exit(message) CLI::UI.puts("{{v}} #{message}") exit 0 end end
Version data entries
15 entries across 15 versions & 1 rubygems