Sha256: 7dc2919b479f6736cdbbf348068c8c377156bcf87eb0c79345c15c9a1ef13392
Contents?: true
Size: 646 Bytes
Versions: 7
Compression:
Stored size: 646 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 = begin Mutils::Lib::Helper.instance.constantize(class_name.to_s) rescue StandardError nil end klass && defined?(klass) && klass.is_a?(Class) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems