Skip to content
On this page

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

class · Ruby 3.4

Prism::OptionalKeywordParameterNode

< Prism::Node 13 instance methods 2 class methods

Represents an optional keyword parameter to a method, block, or lambda definition.

def a(b: 1)
      ^^^^
end

Class methods 2

Instance methods 13

Attributes
Read

attr_reader name: Symbol

Read

attr_reader value: Prism::node