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

Code-Vedas / mutils / 4249415068

pending completion
4249415068

push

github

Nitesh Purohit
Merge branches 'master' and 'master' of github.com:Code-Vedas/mutils

205 of 205 relevant lines covered (100.0%)

14184.08 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
1✔
5
  module Lib
1✔
6
    # ResultHash: Store result using this class.
7
    class ResultHash
1✔
8
      def initialize
1✔
9
        self._hash = {}
88,078✔
10
      end
11

12
      def []=(key, value)
1✔
13
        _hash[key] = value
176,203✔
14
      end
15

16
      def hash
1✔
17
        _hash
88,078✔
18
      end
19

20
      private
1✔
21

22
      attr_accessor :_hash
1✔
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