< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事(スレッド移動)
N :次の記事(スレッド移動)
|<:前のスレッド
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Issue #7882 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas).
I don't find it that odd, Nobu, although I think most developers would tend to use do-end anyway as we usually do in Ruby when the block span multiple lines.
I like the idea very much actually.
----------------------------------------
Feature #7882: Allow rescue/else/ensure in do..end
https://bugs.ruby-lang.org/issues/7882#change-36615
Author: charliesome (Charlie Somerville)
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 2.1.0
=begin
The keywords (({rescue})), (({else})) and (({ensure})) can be used when defining methods like so:
def foo
#
rescue
#
else
#
ensure
#
end
However when using a block delimited by do..end, you must use (({begin}))..(({end})) as well:
foo do
begin
# ...
rescue
# ...
# ...
end
end
It would be nice to be able to drop the extra (({begin}))..(({end})) and use (({rescue})), etc. clauses directly:
foo do
# ...
rescue
# ...
# ...
end
I cannot think of any ambiguities this syntax would cause, but please correct me if I am wrong.
=end
--
http://bugs.ruby-lang.org/