Parent

Methods

Timetrap::Formatters::Json

Attributes

output[RW]

Public Class Methods

new(entries) click to toggle source
# File lib/timetrap/formatters/json.rb, line 16
def initialize entries
  @output = entries.map do |e|
    next unless e.end
    e.values
  end.compact.to_json
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.