Class: Loco::ArrayController

Inherits:
Controller show all
Defined in:
lib/motion-loco/array_controller.rb

Class Method Summary collapse

Methods inherited from Controller

#method_missing, method_missing

Methods included from Observable

#init, #initialize, #method_missing, #register_observer, #remove_all_observers, #remove_observer, #set_properties, #update_attributes

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Loco::Controller

Class Method Details

.instanceObject



7
8
9
10
11
# File 'lib/motion-loco/array_controller.rb', line 7

def self.instance
  @instance ||= begin
    new(content: RecordArray.new)
  end
end