class DecentPresenter::Base
Attributes
view_context[R]
Public Class Methods
new(object, view_context)
click to toggle source
Calls superclass method
# File lib/decent_presenter/base.rb, line 11 def initialize(object, view_context) super(object) @view_context = view_context end
Public Instance Methods
helpers()
click to toggle source
# File lib/decent_presenter/base.rb, line 22 def helpers view_context end
Also aliased as: h
model()
click to toggle source
# File lib/decent_presenter/base.rb, line 16 def model __getobj__ end
Also aliased as: object