Sha256: 5524c18a8045705d3480bdf1b628cd776b8222824f02aae2fc7ca02a3318f2fc
Contents?: true
Size: 360 Bytes
Versions: 3
Compression:
Stored size: 360 Bytes
Contents
# frozen_string_literal: true module ActiveModel module Serializable module Utils extend self def _const_get(const) begin method = RUBY_VERSION >= '2.0' ? :const_get : :qualified_const_get Object.send method, const rescue NameError const.safe_constantize end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems