class Simpre::Presenter

Public Class Methods

new(model, view) click to toggle source
Calls superclass method
# File lib/simpre/presenter.rb, line 7
def initialize(model, view)
  @model = model
  @view = view
  super(@model)
end

Public Instance Methods

h() click to toggle source
# File lib/simpre/presenter.rb, line 13
def h
  @view
end