Skip to content
On this page
class · Ruby 4.0

Prism::ForwardingSuperNode

< Prism::Node 10 instance methods 2 class methods

Represents the use of the super keyword without parentheses or arguments, but which might have a block.

super
^^^^^

super { 123 }
^^^^^^^^^^^^^

If it has any other arguments, it would be a SuperNode instead.

Class methods 2

Instance methods 10

Attributes
Read

All other arguments are forwarded as normal, except the original block is replaced with the new block.