General

Profile

pavelrosputko (Pavel Rosputko)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

12/22/2010

05:01 AM Ruby Feature #4184 (Rejected): String that has the same object_id in an each occurrence in a code
=begin
Regexp literals:
5.times { p /abcdasdf/.object_id } -> same!

String literals:
5.times { 'asdasdf'.object_id } -> different

Propose:
5.times { %c(asdasdf).object_id } -> same!

Example of usefullness:

a,b,...
pavelrosputko (Pavel Rosputko)

Also available in: Atom