Sha256: 600c583618d29c9aeddba0f6951096a5af2490546a61ab15a58c74bafb239320
Contents?: true
Size: 511 Bytes
Versions: 1
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.to_s) 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rfix-1.0.7.pre.68 | lib/rfix/log.rb |