Permalink
Browse files

[terms] identifier

  • Loading branch information...
1 parent ba8b767 commit 0321dd8dc42aff003a7ad73e5c218656d1c92758 @moritz moritz committed Sep 6, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 lib/terms.pod
View
@@ -93,4 +93,20 @@ list, or several quoting constructs
TODO
+=head1 Identifier terms
+
+=head2 self
+
+Inside a method, C<self> refers to the invocant (i.e. the object the method
+was called on). If used in a context where it doesn't make sense, a
+compile-time exception of type L<X::Syntax::NoSelf> is thrown.
+
+=head2 now
+
+Returns an L<Instant> object representing the current time.
+
+=head2 rand
+
+Returns a pseudo-random L<Num> in the range C<0..^1>.
+
=end pod

0 comments on commit 0321dd8

Please sign in to comment.