Module: HMap::UserInterface

Defined in:
lib/hmap/user_interface.rb

Overview

Manages the UI output so clients can customize it.

Class Method Summary collapse

Class Method Details

.puts(message) ⇒ void

This method returns an undefined value.

Prints a message to standard output.



9
10
11
# File 'lib/hmap/user_interface.rb', line 9

def self.puts(message)
  STDOUT.puts message
end

.warn(message) ⇒ void

This method returns an undefined value.

Prints a message to standard error.



17
18
19
# File 'lib/hmap/user_interface.rb', line 17

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