Class: Aruba::Platforms::Announcer::KernelPutsAnnouncer

Inherits:
Object
  • Object
show all
Defined in:
lib/aruba/platforms/announcer.rb

Overview

Announcer using Kernel.puts

Instance Method Summary collapse

Instance Method Details

#announce(message) ⇒ Object



32
33
34
# File 'lib/aruba/platforms/announcer.rb', line 32

def announce(message)
  Kernel.puts message
end

#mode?(m) ⇒ Boolean

Returns:

  • (Boolean)


36
37
38
# File 'lib/aruba/platforms/announcer.rb', line 36

def mode?(m)
  :kernel_puts == m
end