Sha256: 0b8331f95001ae75ffeeeafa633b071f8be44aff29d4905a2c358689330d8885

Contents?: true

Size: 372 Bytes

Versions: 18

Compression:

Stored size: 372 Bytes

Contents

# frozen_string_literal: true

# frozen_string_literal: true\

require 'colorize'

module GoNative
  module Utils
    module UI
      class << self
        def info(msg)
          puts msg.colorize(:green)
        end

        def output(msg)
          puts msg
        end

        def error(msg)
          puts msg.colorize(:red)
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
gonative-cli-1.4.4 lib/gonative/utils/ui.rb
gonative-cli-1.4.3 lib/gonative/utils/ui.rb
gonative-cli-1.4.2 lib/gonative/utils/ui.rb
gonative-cli-1.4.1 lib/gonative/utils/ui.rb
gonative-cli-1.4.0 lib/gonative/utils/ui.rb
gonative-cli-1.3.9 lib/gonative/utils/ui.rb
gonative-cli-1.3.8 lib/gonative/utils/ui.rb
gonative-cli-1.3.7 lib/gonative/utils/ui.rb
gonative-cli-1.3.6 lib/gonative/utils/ui.rb
gonative-cli-1.3.5 lib/gonative/utils/ui.rb
gonative-cli-1.3.4 lib/gonative/utils/ui.rb
gonative-cli-1.3.3 lib/gonative/utils/ui.rb
gonative-cli-1.3.2 lib/gonative/utils/ui.rb
gonative-cli-1.3.1 lib/gonative/utils/ui.rb
gonative-cli-1.3.0 lib/gonative/utils/ui.rb
gonative-cli-1.2.4 lib/gonative/utils/ui.rb
gonative-cli-1.2.3 lib/gonative/utils/ui.rb
gonative-cli-1.2.2 lib/gonative/utils/ui.rb