Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 90abb3924445a0d7be01175c6959c07c1eccd23c 1 parent 1977821
Ryan Davis zenspider authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 README.txt
7 README.txt
View
@@ -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:
Please sign in to comment.
Something went wrong with that request. Please try again.