Sha256: f35c5876e3362aa6d2bf1436047702af0074bc308e7b416135bdb4d11c26cc0e

Contents?: true

Size: 220 Bytes

Versions: 3

Compression:

Stored size: 220 Bytes

Contents

module Act
  # Manages the UI output.
  #
  module UserInterface
    def self.puts(message)
      STDOUT.puts message
    end

    def self.warn(message)
      STDERR.puts message
    end
  end

  UI = UserInterface
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
act-0.0.4 lib/act/user_interface.rb
act-0.0.3 lib/act/user_interface.rb
act-0.0.2 lib/act/user_interface.rb