Sha256: 54fd39e10585e89c910b0bf7010afc9c07f09cd08513179e649df3296deee12b

Contents?: true

Size: 309 Bytes

Versions: 6

Compression:

Stored size: 309 Bytes

Contents

# frozen_string_literal: true

require 'thor'

module Uffizzi
  module UI
    class Shell
      def initialize
        @shell = Thor::Shell::Basic.new
      end

      def say(msg)
        @shell.say(msg)
      end

      def last_message
        @shell.send(:stdout).string.strip
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
uffizzi-cli-0.2.2 lib/uffizzi/shell.rb
uffizzi-cli-0.2.1 lib/uffizzi/shell.rb
uffizzi-cli-0.2.0 lib/uffizzi/shell.rb
uffizzi-cli-0.1.4.3 lib/uffizzi/shell.rb
uffizzi-cli-0.1.4.2 lib/uffizzi/shell.rb
uffizzi-cli-0.1.3 lib/uffizzi/shell.rb