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

ruby-grape / grape / 9780053929

03 Jul 2024 02:47PM UTC coverage: 97.47%. Remained the same
9780053929

Pull #2468

github

web-flow
Merge 8cde12289 into b47d9adec
Pull Request #2468: Align `error!` method signatures across different places to fix compatibility issues.

2 of 2 new or added lines in 1 file covered. (100.0%)

3583 of 3676 relevant lines covered (97.47%)

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