lib/clomp/result.rb in clomp-0.0.8 vs lib/clomp/result.rb in clomp-0.0.9

- old
+ new

@@ -4,10 +4,10 @@ def initialize(options: {}, tracks: [], operation: nil) @report = {} @operation = set_prop :operation, operation || Operation.new @tracks = set_prop :tracks, tracks || [] - @options ||= {} + @options = {} @immutable_data = set_prop :options, options @state = ->(tracks) {tracks.select {|track| track.failure?}.count.zero?} end def data \ No newline at end of file