mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-17 19:35:06 +00:00
format Ruby code (only whitespace changes)
This commit is contained in:
1 parent
0ff5cb7608
commit
75a2a15f14
2 files changed
+2
-2
No files matched your search
Executable → Regular
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user