Project

General

Profile

« Previous | Next » 

Revision ad23bbe5

Added by koic (Koichi ITO) over 1 year ago

[ruby/prism] [Doc] Tweak the docs for lex APIs

Prism.lex and Prism.lex_file return ParseLexResult instead of Array.
Prism::parse_lex and Prism::parse_lex_file return ParseLexResult instead of ParseResult.
This PR updates the documentation to reflect these return values.

https://github.com/ruby/prism/commit/ee331941c0