Skip to content

Commit

Permalink
- Updated Synopsis to reflect new options for running RP. (louismullie)
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/ruby_parser/dev/": change = 8084]
  • Loading branch information
zenspider committed Dec 19, 2012
1 parent 1977821 commit 90abb39
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.txt
Expand Up @@ -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:
Expand Down

0 comments on commit 90abb39

Please sign in to comment.