Project

General

Profile

Actions

Feature #8938

closed

it keyword

Added by Sing9898 (Sing Lou) about 11 years ago. Updated about 11 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:57315]

Description

automatic 'it' keyword for block variable:

items.each{|x| puts x.name }
=>
items.each{puts it.name}

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0