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

ruby-grape / grape / 14427398417

13 Apr 2025 07:33AM UTC coverage: 98.311% (+0.003%) from 98.308%
14427398417

Pull #2557

github

web-flow
Merge 2caf6da01 into a80d2d456
Pull Request #2557: New feature : linting

6 of 6 new or added lines in 3 files covered. (100.0%)

3551 of 3612 relevant lines covered (98.31%)

152979.14 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
117✔
4
  module Util
117✔
5
    module Lazy
117✔
6
      class ValueArray < ValueEnumerable
117✔
7
        def initialize(array)
117✔
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
117✔
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