Mon 2010-02-22 ( En pr )

1 puts, p, print

2 require

3 raise, throw, warn

4 new

5 to_s, to_i, to_f, to_sym

6 private, protected

7 class

Say something! / Sag was!

Why is raise, throw and warn that high?
bovi @ 09:26 on Saturday, 2010-02-27
I use raise quite often, sometimes like a debugger statement. It's one of the methods most people take for a keyword when they first see it. I've never seen somebody call it with brackets. throw and warn are just variants that belong into the category.
murphy @ 12:58 on Saturday, 2010-02-27
1
aYlNlfdX @ 19:32 on Tuesday, 2024-08-06
1
aYlNlfdX @ 19:32 on Tuesday, 2024-08-06
1
aYlNlfdX @ 19:36 on Tuesday, 2024-08-06
1
aYlNlfdX @ 19:36 on Tuesday, 2024-08-06
1
aYlNlfdX @ 20:03 on Tuesday, 2024-08-06
1
aYlNlfdX @ 20:03 on Tuesday, 2024-08-06

No markup, just plain monospace text. / Kein Markup, nur Normschrift-Klartext.