< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事(スレッド移動)
N :次の記事(スレッド移動)
|<:前のスレッド
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Issue #6243 has been updated by tenderlovemaking (Aaron Patterson).
Category changed from core to Joke
----------------------------------------
Feature #6243: Make ERB Ruby's Super Power
https://bugs.ruby-lang.org/issues/6243#change-25608
Author: trans (Thomas Sawyer)
Status: Open
Priority: Normal
Assignee:
Category: Joke
Target version: 2.0.0
As a Super Ruby Developer
I want to make Ruby Super Developery
Given wimpy Ruby, coding is arduous:
class Letters
def a
"Aa"
end
def b
"Bb"
end
# Oh, dear St. V! It's just too long. I don't want to go on!
Then Super Ruby saves the day!
class Letters
<%= ('a'...'z').each do |letter| %>
def <%= letter %>
"<%= letter.upcase %><%= letter %>"
end
<% end %>
end
letters = Letters.new
letters.a #=> "Aa"
letters.b #=> "Bb"
Imagine the power of `Ruby ** Ruby`! It's like putting Ruby in a phone booth and out pops Ruby with big <S> on chest. And like that, Super Ruby destroys all super villain languages like PHP!
And you can't reject b/c this issue is all Gherkin which makes it legit.
--
http://bugs.ruby-lang.org/