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

Code-Vedas / mutils / 3675924525

pending completion
3675924525

push

github

GitHub
build(deps): bump json from 2.6.2 to 2.6.3 (#230)

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

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

100.0
/lib/mutils/serialization/methods/main.rb
1
# frozen_string_literal: true
2

3
# Module Mutils
4
module Mutils
1✔
5
  # Module SerializationCore
6
  module Serialization
1✔
7
    # Module Methods
8
    module Methods
1✔
9
      # Module Main
10
      module Main
1✔
11
        def name_tag(name_tag, root = nil)
1✔
12
          self.serializer_name = name_tag
2✔
13
          self.include_root = root
2✔
14
        end
15

16
        def class_exists?(class_name)
1✔
17
          klass = Mutils::Lib::Helper.instance.constantize(class_name.to_s)
6✔
18
          klass && defined?(klass) && klass.is_a?(Class)
5✔
19
        rescue StandardError
20
          false
1✔
21
        end
22
      end
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