Sha256: ca10f3d7c32108791dd925a977dfbed62f7e56700f561273517aa7925da29604
Contents?: true
Size: 246 Bytes
Versions: 1
Compression:
Stored size: 246 Bytes
Contents
## # Console output # class PgObjects::Logger attr_reader :silent def initialize @silent = false end def write(str) puts "== #{str} ".ljust(80, '=') unless silent end def mute(value) @silent = value self end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pg_objects-1.2.0 | lib/pg_objects/logger.rb |