Sha256: 5c2b084e8ecbc539a71de4dd1d7bcacfac8ed3477f793d84e5a5a068a208c579
Contents?: true
Size: 477 Bytes
Versions: 12
Compression:
Stored size: 477 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
12 entries across 12 versions & 1 rubygems