lib/mcg/diagnosis/dgo.rb
Convert to a Hash object, e.g. for JSON serialization.
Convert to a Hash object, e.g. for JSON serialization.
Convert to a Hash object e . g . for JSON serialization .
def to_h
          { :timestamp => @timestamp, 
            :algorithms => @algorithms.map { |algo| algo.to_h }
          }
        end
def to_h { :timestamp => @timestamp , :algorithms => @algorithms . map { | algo | algo . to_h } } end
Convert to a Hash object, e.g.
Convert to a Hash object e . g .