Sha256: b1826b73b0565d5d3d386d60b54013512e5eb4b293cb652cb333cc00e3257fc5
Contents?: true
Size: 580 Bytes
Versions: 13
Compression:
Stored size: 580 Bytes
Contents
# frozen_string_literal: true # Module Mutils module Mutils # Module SerializationCore module Serialization # Module Methods module Methods # Module Main module Main def name_tag(name_tag, root = nil) self.serializer_name = name_tag self.include_root = root end def class_exists?(class_name) klass = Mutils::Lib::Helper.instance.constantize(class_name.to_s) klass && defined?(klass) && klass.is_a?(Class) rescue StandardError false end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems