Class: InertiaHanami::Props::Base
- Inherits:
-
Data
- Object
- Data
- InertiaHanami::Props::Base
- Defined in:
- lib/inertia_hanami/props.rb
Overview
Base class for all prop wrappers. Built on Ruby's Data, so wrappers are
immutable value objects with structural equality and no ActiveSupport
dependency.
Instance Method Summary collapse
Instance Method Details
#resolve ⇒ Object
11 12 13 |
# File 'lib/inertia_hanami/props.rb', line 11 def resolve block.call end |