mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-11 20:02:09 +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
|
||||
|
||||
def initialize(items)
|
||||
@items = items
|
||||
end
|
||||
|
||||
@ -14,7 +14,7 @@ items = [
|
||||
Item.new(name="Backstage passes to a TAFKAL80ETC concert", sell_in=5, quality=49),
|
||||
# This Conjured item does not work properly yet
|
||||
Item.new(name="Conjured Mana Cake", sell_in=3, quality=6), # <-- :O
|
||||
]
|
||||
]
|
||||
|
||||
days = 2
|
||||
if ARGV.size > 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user