module Virtus::Extensions
Extensions common for both classes and instances
Constants
- INVALID_WRITER_METHODS
- RESERVED_NAMES
- WRITER_METHOD_REGEXP
Private Class Methods
extended(object)
click to toggle source
A hook called when an object is extended with Virtus
@param [Object] object
@return [undefined]
@api private
Calls superclass method
# File lib/virtus/extensions.rb, line 16 def self.extended(object) super object.instance_eval do extend Methods extend InstanceMethods extend AllowedWriterMethods extend InstanceMethods::MassAssignment end end