class MetaPresenter::Base
Base
presenter class. Inherit from this it in order to get a presenter you can use in your views
@example
# app/presenters/application_presenter.rb class ApplicationPresenter < MetaPresenter::Base def message "Hello" end end
Public Instance Methods
inspect()
click to toggle source
Displayed in errors involving the presenter
@return [String] Brief description of this presenter as its class name
# File lib/meta_presenter/base.rb, line 26 def inspect # Concise to not dump too much information on the dev "#<#{self.class.name}>" end