Sha256: f62c5a48111968d195950373779e216ab3a9064c504726149a0aa4cdc2113071
Contents?: true
Size: 214 Bytes
Versions: 3
Compression:
Stored size: 214 Bytes
Contents
module PgObjects class Logger attr_reader :silent def initialize(silent = false) @silent = silent end def write(str) puts "== #{str} ".ljust(80, '=') unless silent end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pg_objects-0.2.4 | lib/pg_objects/logger.rb |
pg_objects-0.2.3 | lib/pg_objects/logger.rb |
pg_objects-0.2.1 | lib/pg_objects/logger.rb |