class Soundcloud9000::Controllers::Controller

control our view, events, and rendering

Attributes

events[R]

Public Class Methods

new(view) click to toggle source
# File lib/soundcloud9000/controllers/controller.rb, line 9
def initialize(view)
  @view = view
  @events = Events.new
end

Public Instance Methods

render() click to toggle source
# File lib/soundcloud9000/controllers/controller.rb, line 14
def render
  @view.render
end