class Loco::Controller
Public Class Methods
instance()
click to toggle source
# File lib/motion-loco/controller.rb, line 17 def self.instance @instance ||= new end
method_missing(method, *args, &block)
click to toggle source
# File lib/motion-loco/controller.rb, line 21 def self.method_missing(method, *args, &block) self.instance.send(method, *args, &block) end
Public Instance Methods
method_missing(method, *args, &block)
click to toggle source
Calls superclass method
Loco::Observable#method_missing
# File lib/motion-loco/controller.rb, line 9 def method_missing(method, *args, &block) if self.content.respond_to? method self.content.send(method, *args) else super end end