class Sc20XX::Controllers::Controller

Control our view, events, and rendering.

Attributes

events[R]

Public Class Methods

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

Public Instance Methods

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