mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
format Ruby code (only whitespace changes)
This commit is contained in:
parent
0ff5cb7608
commit
75a2a15f14
2
ruby/gilded_rose.rb
Executable file → Normal file
2
ruby/gilded_rose.rb
Executable file → Normal file
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
class GildedRose
|
class GildedRose
|
||||||
|
|
||||||
def initialize(items)
|
def initialize(items)
|
||||||
@items = items
|
@items = items
|
||||||
end
|
end
|
||||||
|
|||||||
@ -14,7 +14,7 @@ items = [
|
|||||||
Item.new(name="Backstage passes to a TAFKAL80ETC concert", sell_in=5, quality=49),
|
Item.new(name="Backstage passes to a TAFKAL80ETC concert", sell_in=5, quality=49),
|
||||||
# This Conjured item does not work properly yet
|
# This Conjured item does not work properly yet
|
||||||
Item.new(name="Conjured Mana Cake", sell_in=3, quality=6), # <-- :O
|
Item.new(name="Conjured Mana Cake", sell_in=3, quality=6), # <-- :O
|
||||||
]
|
]
|
||||||
|
|
||||||
days = 2
|
days = 2
|
||||||
if ARGV.size > 0
|
if ARGV.size > 0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user