Sha256: 05adc2861757ad370aea18ee56c918c7677f1d0f78031eb0ca7c4920414fd278
Contents?: true
Size: 510 Bytes
Versions: 1
Compression:
Stored size: 510 Bytes
Contents
# encoding: utf-8 module GithubCLI class UI attr_writer :shell def initialize(shell) @shell = shell end def confirm(message) @shell.say message, :green end def info(message) @shell.say message, nil end def warn(message) @shell.say message, :yellow end def error(message) @shell.say message, :red end def debug(message) @shell.say message end def debug! @debug = true end end # UI end # GithubCLI
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.1.0 | lib/github_cli/ui.rb |