Registry / utility / live-ast

live-ast

JSON →
library1.0.2rbrubygemsunverified

LiveAST enables a program to find the ASTs of objects created by dynamically generated code.

gem install live_ast
INSTALL
IMPORT
SIG · LIVE-AST
L
live-ast
utilityrubyv1.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LiveAST
require 'live_ast'

Parses a string of Ruby code into an AST.

require 'live_ast' code = 'def foo; 42; end' ast = LiveAST.parse(code) puts ast.class
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
live-ast — gem install live-ast · libregistry