Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documents for validate() #101

Merged
merged 1 commit into from Jan 7, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/Text/Xslate.pm
Expand Up @@ -1025,6 +1025,11 @@ This method is significant when it is called by template functions and methods.


Adds the argument into the output buffer. This method is available on executing. Adds the argument into the output buffer. This method is available on executing.


=head3 B<< $tx->validate($file) :Void >>

Checks whether the syntax of I<$file> is valid or invalid as Xslate.
If it detects the invalid factor, this method throws the exception.

=head2 Exportable functions =head2 Exportable functions


=head3 C<< mark_raw($str :Str) :RawStr >> =head3 C<< mark_raw($str :Str) :RawStr >>
Expand Down