Sha256: f57859c683becd076de7a980474ff3dfb2a206b6490eaf03b4a05341d503c5b1

Contents?: true

Size: 142 Bytes

Versions: 8

Compression:

Stored size: 142 Bytes

Contents

require 'json'

module Heavylog
  module Formatters
    class Json
      def call(data)
        ::JSON.dump(data)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
heavylog-0.0.9 lib/heavylog/formatters/json.rb
heavylog-0.0.8 lib/heavylog/formatters/json.rb
heavylog-0.0.7 lib/heavylog/formatters/json.rb
heavylog-0.0.6 lib/heavylog/formatters/json.rb
heavylog-0.0.5 lib/heavylog/formatters/json.rb
heavylog-0.0.4 lib/heavylog/formatters/json.rb
heavylog-0.0.3 lib/heavylog/formatters/json.rb
heavylog-0.0.2 lib/heavylog/formatters/json.rb