Class: InertiaRails::MergeProp

Inherits:
BaseProp
  • Object
show all
Defined in:
lib/inertia_rails/merge_prop.rb

Instance Method Summary collapse

Methods inherited from BaseProp

#call

Constructor Details

#initializeMergeProp

Returns a new instance of MergeProp.



5
6
7
8
# File 'lib/inertia_rails/merge_prop.rb', line 5

def initialize(*)
  super
  @merge = true
end

Instance Method Details

#merge?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/inertia_rails/merge_prop.rb', line 10

def merge?
  @merge
end