From aa338748df5f2c7f58643c359d1d54f60866ee62 Mon Sep 17 00:00:00 2001 From: pleasant-tree-5cd4 Date: Sat, 27 Mar 2021 17:12:01 +0000 Subject: [PATCH] Done. --- spec/variable_spec.rb | 1 - variable.rb | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/spec/variable_spec.rb b/spec/variable_spec.rb index ab66936b..10fb061b 100644 --- a/spec/variable_spec.rb +++ b/spec/variable_spec.rb @@ -6,5 +6,4 @@ expect(greeting).to eq("Hello World") end - end diff --git a/variable.rb b/variable.rb index 12b07267..e3e51244 100644 --- a/variable.rb +++ b/variable.rb @@ -1,2 +1,6 @@ # Define a local variable called 'greeting', # give it the value of the string "Hello World" + + greeting = "Hello World" + puts 'greeting' +