Module: Virtus::Extensions

Defined in:
lib/virtus/extensions.rb

Overview

Extensions common for both classes and instances

Defined Under Namespace

Modules: AllowedWriterMethods, Methods

Constant Summary collapse

WRITER_METHOD_REGEXP =
/=\z/.freeze
INVALID_WRITER_METHODS =
%w[ == != === []= attributes= ].to_set.freeze
RESERVED_NAMES =
[:attributes].to_set.freeze