Module: HMap::UserInterface
- Defined in:
- lib/hmap/user_interface.rb
Overview
Manages the UI output so clients can customize it.
Class Method Summary collapse
-
.puts(message) ⇒ void
Prints a message to standard output.
-
.warn(message) ⇒ void
Prints a message to standard error.
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() STDOUT.puts 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() STDERR.puts end |