Sha256: 2f7ed20ee3a9ed39c26596f128c226aa5bbd2d4e81633eddb38ee0a17961a982
Contents?: true
Size: 1.42 KB
Versions: 7
Compression:
Stored size: 1.42 KB
Contents
module Virtus module Model # @api private def self.included(descendant) super descendant.send(:include, ClassInclusions) end # @api private def self.extended(descendant) super descendant.extend(Extensions) end module Core # @api private def self.included(descendant) super descendant.extend(ClassMethods) descendant.send(:include, ClassInclusions::Methods) descendant.send(:include, InstanceMethods) end private_class_method :included # @api private def self.extended(descendant) super descendant.extend(Extensions::Methods) descendant.extend(InstanceMethods) end private_class_method :extended end # Core module Constructor # @api private def self.included(descendant) super descendant.send(:include, InstanceMethods::Constructor) end private_class_method :included end # Constructor module MassAssignment # @api private def self.included(descendant) super descendant.send(:include, InstanceMethods::MassAssignment) end private_class_method :included # @api private def self.extended(descendant) super descendant.extend(InstanceMethods::MassAssignment) end private_class_method :extended end # MassAssignment end # Model end # Virtus
Version data entries
7 entries across 7 versions & 3 rubygems