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

Code-Vedas / mutils / 9707403017

28 Jun 2024 04:22AM CUT coverage: 100.0%. Remained the same
9707403017

push

github

niteshpurohit
fix: rubocop >= 1.63.3

205 of 205 relevant lines covered (100.0%)

28368.16 hits per line

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

100.0
/lib/mutils/lib/result_hash.rb
1
# frozen_string_literal: true
2

3
# module Mutils
4
module Mutils
2✔
5
  module Lib
2✔
6
    # ResultHash: Store result using this class.
7
    class ResultHash
2✔
8
      def initialize
2✔
9
        self._hash = {}
176,156✔
10
      end
11

12
      def []=(key, value)
2✔
13
        _hash[key] = value
352,406✔
14
      end
15

16
      def hash
2✔
17
        _hash
176,156✔
18
      end
19

20
      private
2✔
21

22
      attr_accessor :_hash
2✔
23
    end
24
  end
25
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

© 2025 Coveralls, Inc