Feature Requests: Browse | Submit New | Admin

[#27863] Handling of non-existing variables

Date:
2010-02-20 19:06
Priority:
3
Submitted By:
Jens Mueller (jkm)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Handling of non-existing variables

Detailed description
As far as I can tell rbTenjin silently ignores unset variables. E.g.
if @name is not set when rendering "Hello ${@name}!" you get "Hello !". I'll guess that due to @name
is nil and nil.to_s returns "". I find that behavior rather annoying. Since I want the rendering to fail,
if a variable isn't set.
Any ideas on that?

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item