Class: InertiaRails::MergeProp
- Includes:
- PropMergeable, PropOnceable
- Defined in:
- lib/inertia_rails/merge_prop.rb
Instance Attribute Summary
Attributes included from PropOnceable
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 PropOnceable
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.
8 9 10 11 |
# File 'lib/inertia_rails/merge_prop.rb', line 8 def initialize(**_props, &block) super(&block) @merge = true end |