Class: Mack::Rendering::Type::Text

Inherits:
Base show all
Defined in:
lib/mack/rendering/type/text.rb

Overview

This is pretty damn brain dead, it just returns the text you supplied to it.

Example:

<%= render(:text, "Hello World") %> # => "Hello World"

Instance Attribute Summary

Attributes inherited from Base

#view_template

Instance Method Summary collapse

Methods inherited from Base

#allow_layout?, #capture, #controller_view_path, #find_engine, #find_file, #initialize, #method_missing

Constructor Details

This class inherits a constructor from Mack::Rendering::Type::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Mack::Rendering::Type::Base

Instance Method Details

#renderObject



11
12
13
# File 'lib/mack/rendering/type/text.rb', line 11

def render
  self._render_value
end