Class: InertiaRails::MergeProp
- Includes:
- PropMergeable
- Defined in:
- lib/inertia_rails/merge_prop.rb
Instance Attribute Summary
Attributes included from PropMergeable
#appends_at_paths, #match_on, #prepends_at_paths
Instance Method Summary collapse
-
#initialize(**_props, &block) ⇒ MergeProp
constructor
A new instance of MergeProp.
Methods included from PropMergeable
#appends_at_root?, #deep_merge?, #merge?, #merges_at_root?, #prepends_at_root?
Methods inherited from BaseProp
Constructor Details
#initialize(**_props, &block) ⇒ MergeProp
Returns a new instance of MergeProp.
7 8 9 10 |
# File 'lib/inertia_rails/merge_prop.rb', line 7 def initialize(**_props, &block) super(&block) @merge = true end |