Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add documents for `validate()` #101

Merged
merged 1 commit into from

2 participants

@moznion

validate() method is undocumented, so I wrote the documentation.

@gfx gfx merged commit 1ed9d14 into xslate:master
@gfx gfx referenced this pull request from a commit
@gfx gfx Checking in changes prior to tagging of version 3.1.1.
Changelog diff is:

diff --git a/Changes b/Changes
index e3ee433..44033aa 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,13 @@
 Revision history for Perl extension Text::Xslate

+3.1.1 2014-01-24 07:50:52+0900
+    [DOCUMENTS]
+    - Fix some typos (#102)
+    - Add an explanation of `validate()` (#101)
+
+    [BUG FIXES]
+    - Fix a race condition on making cache dirs (#103)
+
 3.1.0 2013-11-16 16:46:35+0900
     [BUG FIXES]
     - Close #96; $/ affected the parse() method
44e503c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 7, 2014
  1. @moznion
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/Text/Xslate.pm
View
5 lib/Text/Xslate.pm
@@ -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.
+=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
=head3 C<< mark_raw($str :Str) :RawStr >>
Something went wrong with that request. Please try again.