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::ModuleNode

< Prism::Node 11 instance methods 2 class methods

Represents a module declaration involving the module keyword.

module Foo end
^^^^^^^^^^^^^^

Class methods 2

Instance methods 11

Attributes
Read

attr_reader body: Node?

attr_reader constant_path: Node

Read

attr_reader locals: Array[Symbol]

Read

attr_reader name: Symbol