Feature #615: "with" operator
http://redmine.ruby-lang.org/issues/show/615

Author: Lavir the Whiolet
Status: Open, Priority: Normal
Category: core, Target version: 2.0

"with" operator is required. It must work like an ordinary method which gets one arguemnt and a block. All expressions in the block are not required to point the argument explicitly; all method calls are related to the argument by default.

Example:

x = "Sample"
with x do
  puts class
  puts reverse
end

would produce:

String
elpmaS


----------------------------------------
http://redmine.ruby-lang.org