From 69245fd714d89a166b0fd678f008ac98602b3d27 Mon Sep 17 00:00:00 2001 From: Andy Waite <13400+andyw8@users.noreply.github.com> Date: Tue, 3 Jun 2025 11:25:41 -0400 Subject: [PATCH] Fix invalid Ruby syntax --- ruby/texttest_fixture.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ruby/texttest_fixture.rb b/ruby/texttest_fixture.rb index ad76aacf..03500bf3 100644 --- a/ruby/texttest_fixture.rb +++ b/ruby/texttest_fixture.rb @@ -4,16 +4,16 @@ require File.join(File.dirname(__FILE__), 'gilded_rose') puts "OMGHAI!" items = [ - Item.new(name="+5 Dexterity Vest", sell_in=10, quality=20), - Item.new(name="Aged Brie", sell_in=2, quality=0), - Item.new(name="Elixir of the Mongoose", sell_in=5, quality=7), - Item.new(name="Sulfuras, Hand of Ragnaros", sell_in=0, quality=80), - Item.new(name="Sulfuras, Hand of Ragnaros", sell_in=-1, quality=80), - Item.new(name="Backstage passes to a TAFKAL80ETC concert", sell_in=15, quality=20), - Item.new(name="Backstage passes to a TAFKAL80ETC concert", sell_in=10, quality=49), - Item.new(name="Backstage passes to a TAFKAL80ETC concert", sell_in=5, quality=49), + Item.new("+5 Dexterity Vest", 10, 20), + Item.new("Aged Brie", 2, 0), + Item.new("Elixir of the Mongoose", 5, 7), + Item.new("Sulfuras, Hand of Ragnaros", 0, 80), + Item.new("Sulfuras, Hand of Ragnaros", -1, 80), + Item.new("Backstage passes to a TAFKAL80ETC concert", 15, 20), + Item.new("Backstage passes to a TAFKAL80ETC concert", 10, 49), + Item.new("Backstage passes to a TAFKAL80ETC concert", 5, 49), # This Conjured item does not work properly yet - Item.new(name="Conjured Mana Cake", sell_in=3, quality=6), # <-- :O + Item.new("Conjured Mana Cake", 3, 6), # <-- :O ] days = 2