Sha256: 76dfdc1d372a6d141b4ff17641f9445c695213b583b9e50d347a02c7aecde3cd

Contents?: true

Size: 311 Bytes

Versions: 13

Compression:

Stored size: 311 Bytes

Contents

module ActiveReporter
  module Evaluator
    class Base
      attr_reader :name, :report, :opts

      def initialize(name, report, opts={})
        @name = name
        @report = report
        @opts = opts
      end

      def default_value
        opts.fetch(:default_value, nil)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
active_reporter-0.7.1 lib/active_reporter/evaluator/base.rb
active_reporter-0.6.5 lib/active_reporter/evaluator/base.rb
active_reporter-0.6.4 lib/active_reporter/evaluator/base.rb
active_reporter-0.6.3 lib/active_reporter/evaluator/base.rb
active_reporter-0.6.2 lib/active_reporter/evaluator/base.rb
active_reporter-0.6.1 lib/active_reporter/evaluator/base.rb
active_reporter-0.6.0 lib/active_reporter/evaluator/base.rb
active_reporter-0.5.13 lib/active_reporter/evaluator/base.rb
active_reporter-0.5.12 lib/active_reporter/evaluator/base.rb
active_reporter-0.5.11 lib/active_reporter/evaluator/base.rb
active_reporter-0.5.10 lib/active_reporter/evaluator/base.rb
active_reporter-0.5.9 lib/active_reporter/evaluator/base.rb
active_reporter-0.5.8 lib/active_reporter/evaluator/base.rb