aboutsummaryrefslogtreecommitdiffstats
path: root/doc/syntax.rdoc
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-17 02:26:15 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-17 02:26:15 +0000
commit29fd59347576ed1ef8fa18534b595b320a939db1 (patch)
tree74b3ad2b3fff9f6212cacfecc1a4e4b6debc31c7 /doc/syntax.rdoc
parent810008293fd8ce3a9d3d62dcf2f2229b98c2bd49 (diff)
downloadruby-29fd59347576ed1ef8fa18534b595b320a939db1.tar.gz
* doc/syntax.rdoc: Added syntax guide table of contents
* doc/syntax/exceptions.rdoc: Syntax guide for exceptions * doc/syntax/literals.rdoc: Syntax guide for literals * doc/syntax/methods.rdoc: Syntax guide for methods git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/syntax.rdoc')
-rw-r--r--doc/syntax.rdoc13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/syntax.rdoc b/doc/syntax.rdoc
new file mode 100644
index 0000000000..b90c0680b7
--- /dev/null
+++ b/doc/syntax.rdoc
@@ -0,0 +1,13 @@
+= Ruby Syntax
+
+The Ruby syntax is large and is split up into the following sections:
+
+Literals[rdoc-ref:doc/syntax/literals.rdoc] ::
+ Numbers, Strings, Arrays, Hashes, etc.
+
+Methods[rdoc-ref:doc/syntax/methods.rdoc] ::
+ Method and method argument syntax
+
+Exceptions[rdoc-ref:doc/syntax/exceptions.rdoc] ::
+ Exception handling syntax
+