PpTag

class
Superclass
Inversion::Template::CallTag
Included Modules
Inversion::Escaping

Inversion object inspection tag.

This tag dumps the result of the attribute or method chain.

Syntax

<?pp foo.bar ?>

Public Instance Methods

anchor
render( render_state )

Render the method chains against the attributes of the specified render_state and return them.

# File lib/inversion/template/pptag.rb, line 20
def render( render_state )
        raw = super
        buf = ''
        PP.pp( raw, buf )
        return self.escape( buf.chomp, render_state )
end