Class: RADWIMPS
- Inherits:
-
Object
- Object
- RADWIMPS
- Defined in:
- lib/radwimps.rb
Overview
Note:
バンド名は、「すごい」「強い」「いかした」という意味の軽いアメリカ英語の俗語「rad」と、「弱虫」「意気地なし」という意味の「wimp」を組み合わせた造語であり、「かっこいい弱虫」「見事な意気地なし」といった意味である。
RADWIMPS(ラッドウィンプス)は、日本の4人組ロックバンドである。 所属レコード会社はユニバーサルミュージック、所属レーベルはEMI Records/Muzinto Records。 所属事務所は有限会社ボクチン(英語: voque ting、所属はRADWIMPSのみ)。 略称は「ラッド(RAD)」。
Defined Under Namespace
Classes: Error
Constant Summary collapse
- VERSION =
"2016.8.24.1.0.5"
Instance Method Summary collapse
-
#initialize(strict: false) ⇒ RADWIMPS
constructor
RADWIMPSを新しく結成します。.
-
#raise ⇒ self
(also: #来)
来世を探します。.
-
#set ⇒ Object
(also: #世)
そのぶきっちょな笑い方をめがけて やってきます。.
-
#then ⇒ self
(also: #前)
前世を探します。.
Constructor Details
#initialize(strict: false) ⇒ RADWIMPS
RADWIMPSを新しく結成します。
21 22 23 24 |
# File 'lib/radwimps.rb', line 21 def initialize(strict: false) @life_counter = 0 @strict = strict end |
Instance Method Details
#raise ⇒ self Also known as: 来
来世を探します。
43 44 45 46 |
# File 'lib/radwimps.rb', line 43 def raise @life_counter += 1 self end |
#set ⇒ Object Also known as: 世
そのぶきっちょな笑い方をめがけて やってきます。
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/radwimps.rb', line 55 def set if @strict if @life_counter < -3 fail Error, "前世に行きすぎました。現在は#{format_counter}にいます。" elsif @life_counter == 0 fail Error, "君の前前前世を探していません。現在は#{format_counter}にいます。" elsif @life_counter > -3 fail Error, "君の前前前世までたどり着いていません。現在は#{format_counter}にいます。" else puts format_counter end else puts format_counter end ensure @life_counter = 0 end |
#then ⇒ self Also known as: 前
前世を探します。
31 32 33 34 |
# File 'lib/radwimps.rb', line 31 def then @life_counter -= 1 self end |