Sha256: e1556f0a3f83bae4bf1bd99a10393774300f22976dfff071fbedc395f48ce33a
Contents?: true
Size: 478 Bytes
Versions: 7
Compression:
Stored size: 478 Bytes
Contents
require File.join(File.dirname(__FILE__), 'base') module Mack module Rendering # :nodoc: module Type # :nodoc: # This is pretty damn brain dead, it just returns the text you supplied to it. # # Example: # <%= render(:text, "Hello World") %> # => "Hello World" class Text < Mack::Rendering::Type::Base def render self._render_value end end # Text end # Type end # Rendering end # Mack
Version data entries
7 entries across 7 versions & 1 rubygems