• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ruby-grape / grape / 13604176961

01 Mar 2025 11:10AM UTC coverage: 98.108% (-0.3%) from 98.389%
13604176961

Pull #2540

github

web-flow
Merge 556a1dd38 into 0f57e01dc
Pull Request #2540: Deprecates Grape's Extensions for ParamsBuilder in favor of build_with

58 of 63 new or added lines in 13 files covered. (92.06%)

9 existing lines in 3 files now uncovered.

3578 of 3647 relevant lines covered (98.11%)

75682.98 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

54.55
/lib/grape/util/lazy/value_array.rb
1
# frozen_string_literal: true
2

3
module Grape
60✔
4
  module Util
60✔
5
    module Lazy
60✔
6
      class ValueArray < ValueEnumerable
60✔
7
        def initialize(array)
60✔
8
          super
×
9
          @value_hash = []
×
10
          array.each_with_index do |value, index|
×
11
            self[index] = value
×
12
          end
13
        end
14

15
        def evaluate
60✔
16
          @value_hash.map(&:evaluate)
×
17
        end
18
      end
19
    end
20
  end
21
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc