diff --git a/.learn b/.learn index e43c5b9..24c7aa1 100644 --- a/.learn +++ b/.learn @@ -3,5 +3,4 @@ tags: - variables languages: - ruby -resources: 2 - +resources: 2 \ No newline at end of file diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 15cb1d5..d845e53 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -13,4 +13,4 @@ def get_variable_from_file(file, variable) rescue NameError raise NameError, "local variable `#{variable}` not defined in #{file}." end -end +end \ No newline at end of file diff --git a/variable.rb b/variable.rb index 12b0726..b6d51dc 100644 --- a/variable.rb +++ b/variable.rb @@ -1,2 +1,3 @@ # Define a local variable called 'greeting', # give it the value of the string "Hello World" + greeting = "Hello World" \ No newline at end of file