Permalink
Browse files

- Updated Synopsis to reflect new options for running RP. (louismullie)

[git-p4: depot-paths = "//src/ruby_parser/dev/": change = 8084]
  • Loading branch information...
1 parent 1977821 commit 90abb3924445a0d7be01175c6959c07c1eccd23c @zenspider zenspider committed Dec 19, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 README.txt
View
7 README.txt
@@ -43,7 +43,12 @@ becomes:
== SYNOPSIS:
- Ruby19Parser.new.parse "1+1"
+ RubyParser.new.parse "1+1"
+ # => s(:call, s(:lit, 1), :+, s(:lit, 1))
+
+You can also use Ruby19Parser, Ruby18Parser, or RubyParser.for_current_ruby:
+
+ RubyParser.for_current_ruby.parse "1+1"
# => s(:call, s(:lit, 1), :+, s(:lit, 1))
== REQUIREMENTS:

0 comments on commit 90abb39

Please sign in to comment.