Sha256: 6be45e09f467735a8d42718e3089de5f2b1dac155b557c3aa496ac42a60084ba

Contents?: true

Size: 280 Bytes

Versions: 4

Compression:

Stored size: 280 Bytes

Contents

module WithClues
  class Notifier
    def initialize(io)
      @io = io
    end

    def blank_line
      self.notify_raw("")
    end

    def notify(message)
      @io.puts "[ with_clues ] #{message}"
    end

    def notify_raw(message)
      @io.puts message
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
with_clues-1.3.0 lib/with_clues/notifier.rb
with_clues-1.2.0 lib/with_clues/notifier.rb
with_clues-1.1.0 lib/with_clues/notifier.rb
with_clues-1.0.0 lib/with_clues/notifier.rb