Sha256: ef0ccbaa8f1ae232cecf9b31417aaaaed4de794d30fc970d353644c0313ad519
Contents?: true
Size: 355 Bytes
Versions: 7
Compression:
Stored size: 355 Bytes
Contents
# ActiveSupport 6.0 changed :parent -> :module_parent # This eliminates deprecation messages so everything works like v5.2 and prior. module NCore module ModuleFix extend ActiveSupport::Concern included do alias :parent :module_parent end end end if Module.respond_to?(:module_parent) Module.include NCore::ModuleFix end
Version data entries
7 entries across 7 versions & 1 rubygems