Class: ParamsArray

Inherits:
ArrayModel show all
Defined in:
lib/volt/models/params_array.rb

Instance Attribute Summary

Attributes inherited from ArrayModel

#parent, #path

Instance Method Summary collapse

Methods inherited from ArrayModel

#+, #<<, #attributes, #initialize, #inject

Methods included from ModelWrapper

#wrap_value, #wrap_values

Methods inherited from ReactiveArray

#+, #<<, #==, #[]=, #delete_at, #initialize, #insert, #inspect, #method_missing, #split_scope, #trigger_for_index!, #trigger_on_direct_listeners!, #trigger_size_change!

Methods included from ObjectTracking

#__setup_tracking

Methods included from ReactiveTags

included, #reactive_method_tag

Constructor Details

This class inherits a constructor from ArrayModel

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ReactiveArray

Instance Method Details

#new_array_model(*args) ⇒ Object



6
7
8
# File 'lib/volt/models/params_array.rb', line 6

def new_array_model(*args)
  ParamsArray.new(*args)
end

#new_model(*args) ⇒ Object



2
3
4
# File 'lib/volt/models/params_array.rb', line 2

def new_model(*args)
  Params.new(*args)
end