Sha256: 8d0136a7c29421fa52f2a16541e42aced095d5fc3c61be75a3f14bb2b45ce46d
Contents?: true
Size: 319 Bytes
Versions: 4
Compression:
Stored size: 319 Bytes
Contents
# frozen_string_literal: true require 'colorize' module Gistory module Cli class Io def initialize(out: $stdout, err: $stderr) @out = out @err = err end def puts(msg) @out.puts(msg) end def error(msg) @err.puts(msg.red) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gistory-0.1.3 | lib/gistory/cli/io.rb |
gistory-0.1.2 | lib/gistory/cli/io.rb |
gistory-0.1.1 | lib/gistory/cli/io.rb |
gistory-0.1.0 | lib/gistory/cli/io.rb |