Sha256: 17829fff1b1ad75f58e89638fd655d8e603737af6482846e86d9219afeb19807

Contents?: true

Size: 176 Bytes

Versions: 20

Compression:

Stored size: 176 Bytes

Contents

module Elastic::Results
  class Metric < Base
    attr_reader :value

    def initialize(_value)
      @value = _value
    end

    def as_value
      @value
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
elastic-rails-1.0.4 lib/elastic/results/metric.rb
elastic-rails-1.0.3 lib/elastic/results/metric.rb
elastic-rails-1.0.2 lib/elastic/results/metric.rb
elastic-rails-1.0.1 lib/elastic/results/metric.rb
elastic-rails-1.0.0 lib/elastic/results/metric.rb
elastic-rails-0.8.7 lib/elastic/results/metric.rb
elastic-rails-0.8.6 lib/elastic/results/metric.rb
elastic-rails-0.8.5 lib/elastic/results/metric.rb
elastic-rails-0.8.4 lib/elastic/results/metric.rb
elastic-rails-0.8.3 lib/elastic/results/metric.rb
elastic-rails-0.8.2 lib/elastic/results/metric.rb
elastic-rails-0.8.1 lib/elastic/results/metric.rb
elastic-rails-0.8.0 lib/elastic/results/metric.rb
elastic-rails-0.7.0 lib/elastic/results/metric.rb
elastic-rails-0.6.4 lib/elastic/results/metric.rb
elastic-rails-0.6.3 lib/elastic/results/metric.rb
elastic-rails-0.6.2 lib/elastic/results/metric.rb
elastic-rails-0.6.1 lib/elastic/results/metric.rb
elastic-rails-0.6.0 lib/elastic/results/metric.rb
elastic-rails-0.5.0 lib/elastic/results/metric.rb