Sha256: 9a30a5da3b71147ab68d9a4bedb4e6a5164c6ed5f4264b7314dada86f4391d4a

Contents?: true

Size: 197 Bytes

Versions: 3

Compression:

Stored size: 197 Bytes

Contents

module Diagnostics
  module Data
    class List < Struct.new(:values)

      def plain
        values.join("\n")
      end

      def html
        values.join('<br />')
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
diagnostics-0.0.4 lib/diagnostics/data/list.rb
diagnostics-0.0.3 lib/diagnostics/data/list.rb
diagnostics-0.0.2 lib/diagnostics/data/list.rb