Sha256: 95dd93a73c9739ca5eb637a9df7901ab6955a02d7be7c7ff4378bfe406b12a90

Contents?: true

Size: 351 Bytes

Versions: 13

Compression:

Stored size: 351 Bytes

Contents

require 'forwardable'

module BEL
  module Model
    class ExperimentContext
      attr_reader :values

      extend Forwardable
      include Enumerable

      def initialize(values = [])
        @values = values
      end

      def_delegators :@values, :<<,    :[],    :"[]=",
                               :each,  :size,  :sort
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
bel-0.3.3-x64-mingw32 lib/bel/evidence_model/experiment_context.rb
bel-0.3.3-x86-mingw32 lib/bel/evidence_model/experiment_context.rb
bel-0.3.3 lib/bel/evidence_model/experiment_context.rb
bel-0.3.2-x64-mingw32 lib/bel/evidence_model/experiment_context.rb
bel-0.3.2-x86-mingw32 lib/bel/evidence_model/experiment_context.rb
bel-0.3.2 lib/bel/evidence_model/experiment_context.rb
bel-0.3.1-x64-mingw32 lib/bel/evidence_model/experiment_context.rb
bel-0.3.1-x86-mingw32 lib/bel/evidence_model/experiment_context.rb
bel-0.3.1 lib/bel/evidence_model/experiment_context.rb
bel-0.3.0-x86-mingw32 lib/bel/evidence_model/experiment_context.rb
bel-0.3.0-x64-mingw32 lib/bel/evidence_model/experiment_context.rb
bel-0.3.0 lib/bel/evidence_model/experiment_context.rb
bel-0.3.0.beta6 lib/bel/evidence_model/experiment_context.rb