Sha256: fafe9b9e74fc153c4872e6f15dd417d3ca1aeef2dc5d657487a32272c2f71b3e
Contents?: true
Size: 365 Bytes
Versions: 2
Compression:
Stored size: 365 Bytes
Contents
# frozen_string_literal: true module Boppers module Notifier class Stdout attr_reader :subscribe def initialize(subscribe: nil) @subscribe = subscribe end def call(title, message, *) puts [ "## #{title}", message.gsub(/^/m, " "), "\n" ].join("\n") end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
boppers-0.0.2 | lib/boppers/notifier/stdout.rb |
boppers-0.0.1 | lib/boppers/notifier/stdout.rb |