Class: Mack::Rendering::Text
Overview
Used when someone calls render(:text => “Hello World!”)
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mack::Rendering::Base
Instance Method Details
#render ⇒ Object
6 7 8 |
# File 'lib/rendering/classes/text.rb', line 6 def render Mack::ViewBinder.render([:text], self.view_binder.controller, ) end |