lib/split/trial.rb in split-3.3.2 vs lib/split/trial.rb in split-3.4.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
module Split
class Trial
attr_accessor :experiment
- attr_accessor :metadata
+ attr_writer :metadata
def initialize(attrs = {})
self.experiment = attrs.delete(:experiment)
self.alternative = attrs.delete(:alternative)
self.metadata = attrs.delete(:metadata)