Sha256: d91e98a363336f80e785793027a874c2ecb3691f725d3ac5a39a23e70f02b352
Contents?: true
Size: 225 Bytes
Versions: 3
Compression:
Stored size: 225 Bytes
Contents
module Diagnostics module Data class Attribute < Struct.new(:name, :value) def plain "#{name}: #{value}" end def html "<strong>#{name}:</strong> #{value}" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
diagnostics-0.0.4 | lib/diagnostics/data/attribute.rb |
diagnostics-0.0.3 | lib/diagnostics/data/attribute.rb |
diagnostics-0.0.2 | lib/diagnostics/data/attribute.rb |