Module: Hanami::View::Escape::Presentable
- Defined in:
- gems/gems/hanami-view-1.3.3/lib/hanami/view/escape.rb
Overview
Instance Method Summary collapse
-
#initialize(object) ⇒ Object
Initialize the presenter.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args, &blk) ⇒ Object (protected)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Override Ruby’s method_missing
Instance Method Details
#initialize(object) ⇒ Object
Initialize the presenter
Source: | on GitHub
def initialize(object) @object = object end |