Class: InertiaHanami::Props::Base

Inherits:
Data
  • Object
show all
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

#resolveObject



11
12
13
# File 'lib/inertia_hanami/props.rb', line 11

def resolve
  block.call
end