Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ These lessons cover many topics, but it does not cover everything that RSpec is
## Set-Up
Run `rbenv versions` to confirm that you have the same Ruby version installed as the one indicated in the `.ruby-version` file. If you do not have this version installed, please refer back to these [instructions](https://www.theodinproject.com/lessons/ruby-installing-ruby) to install it.

> [!NOTE]
> If you get a Ruby version error, it's recommended to [update your ruby installation](https://www.theodinproject.com/lessons/ruby-installing-ruby#update-ruby). Alternatively, you can [change the local ruby version](https://www.theodinproject.com/lessons/ruby-installing-ruby#set-local-and-global-ruby-version) to your installed version if your version is not too behind from output of `rbenv local`. (to check your installed version: `ruby -v`)

Run `bundle install` from the root directory.

## How to use this playground
Expand Down
5 changes: 5 additions & 0 deletions spec/01_string_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# frozen_string_literal: true

# NOTE: If you get a Ruby version error, it's recommended to [update your ruby installation](https://www.theodinproject.com/lessons/ruby-installing-ruby#update-ruby).
# Alternatively, you can [change the local ruby version](https://www.theodinproject.com/lessons/ruby-installing-ruby#set-local-and-global-ruby-version)
# to your installed version if your version is not too behind from output of `rbenv local`.
# (to check your installed version: `ruby -v`)

describe String do
# Let creates a helper method with a memoized value that is cached for the
# same example but not across different examples. Let is lazy-evaluated;
Expand Down