Skip to content
On this page

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

class · Ruby 3.3

Prism::ArrayNode

< Prism::Node 12 instance methods 2 class methods

Represents an array literal. This can be a regular array using brackets or a special array using % like %w or %i.

[1, 2, 3]
^^^^^^^^^

Class methods 2

Instance methods 12

Attributes

attr_reader closing_loc: Location?

Read

attr_reader elements: Array[Node]

attr_reader opening_loc: Location?