class method
Prism::ReturnNode.new
new(source, node_id, location, flags, keyword_loc, arguments)
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/node.rb, line 16281
def initialize(source, node_id, location, flags, keyword_loc, arguments)
@source = source
@node_id = node_id
@location = location
@flags = flags
@keyword_loc = keyword_loc
@arguments = arguments
end
Initialize a new ReturnNode node.