Module: Castkit::DSL::DataObject::Introspection
- Defined in:
- lib/castkit/dsl/data_object/introspection.rb
Overview
Provides opt-in attribute introspection for data objects using Cattri’s registry without overriding Castkit’s attribute DSL.
Defined Under Namespace
Modules: IntrospectionHelpers
Instance Method Summary collapse
-
#enable_cattri_introspection! ⇒ void
Enables introspection helpers on the including class.
Instance Method Details
#enable_cattri_introspection! ⇒ void
This method returns an undefined value.
Enables introspection helpers on the including class.
12 13 14 15 16 |
# File 'lib/castkit/dsl/data_object/introspection.rb', line 12 def enable_cattri_introspection! extend IntrospectionHelpers @cattri_attribute_registry = nil end |