123456789_123456789_123456789_123456789_123456789_

Module: Ruby::Prism

Relationships & Source Files
Defined in: prism_init.c,
prism_init.c

Overview

Ruby::Prism is the prism parser built into the interpreter, i.e., the very parser that parsed the running program.

Its API and behavior will be identical to the version of prism bundled with this ::Ruby. In most cases, use the prism gem instead. Use Ruby::Prism only when you need the very parser of the running interpreter.

Ruby::Prism is autoloaded when it is first referenced. Do not require "ruby/prism" explicitly, as it does not work well with Box for a technical reason.