├── .gitignore ├── .rubocop.yml ├── 01-Full-name ├── README.md ├── Rakefile ├── lib │ └── full_name.rb └── spec │ └── full_name_spec.rb ├── 02-Age-next-year ├── README.md ├── Rakefile ├── lib │ └── age_next_year.rb └── spec │ └── age_next_year_spec.rb ├── 03-Palindrome-word ├── README.md ├── Rakefile ├── lib │ └── palindrome.rb └── spec │ └── palindrome_spec.rb ├── 04-Merge-and-sort-array ├── README.md ├── Rakefile ├── lib │ └── merge_and_sort_array.rb └── spec │ └── merge_and_sort_array_spec.rb ├── 05-Word-counter ├── README.md ├── Rakefile ├── lib │ └── word_counter.rb └── spec │ └── word_counter_spec.rb ├── 06-Playlist-array ├── README.md ├── Rakefile ├── lib │ └── add_song_to_playlist.rb └── spec │ └── add_song_to_playlist_spec.rb ├── 07-odd-or-even ├── README.md ├── Rakefile ├── lib │ └── odd_or_even.rb └── spec │ └── odd_or_even_spec.rb ├── 08-Can-you-vote ├── README.md ├── Rakefile ├── lib │ └── can_you_vote.rb └── spec │ └── can_you_vote_spec.rb ├── 09-Find-max ├── README.md ├── Rakefile ├── lib │ └── max.rb └── spec │ └── max_spec.rb ├── README.md ├── _images ├── clone_forked_repo.png ├── clone_workspace.png ├── coding_view.png ├── confirm_account.png ├── create_account.png ├── create_workspace.png ├── fork_repo.png ├── git_clone.png ├── logo.png ├── readme_view.png ├── ruby.png ├── run_push.png └── set_editor_theme.png └── exercises.yml /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | */.solution.rb 3 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- 1 | ConditionalAssignment: 2 | Enabled: false 3 | StringLiterals: 4 | Enabled: false 5 | TrailingBlankLines: 6 | Enabled: false 7 | LineLength: 8 | Max: 120 9 | UnusedMethodArgument: 10 | Enabled: false 11 | EmptyLines: 12 | Enabled: false 13 | RedundantReturn: 14 | Enabled: false 15 | SelfAssignment: 16 | Enabled: false 17 | Documentation: 18 | Enabled: false 19 | RegexpLiteral: 20 | Enabled: false 21 | GuardClause: 22 | Enabled: false 23 | WordArray: 24 | Enabled: false 25 | SymbolProc: 26 | Enabled: false 27 | AbcSize: 28 | Enabled: false 29 | MutableConstant: 30 | Enabled: false 31 | SignalException: 32 | Enabled: false 33 | Casecmp: 34 | Enabled: false 35 | CyclomaticComplexity: 36 | Enabled: false 37 | RedundantReturn: 38 | Enabled: false 39 | 40 | AllCops: 41 | Exclude: 42 | - '**/Rakefile' 43 | - '**/spec/**/*' 44 | -------------------------------------------------------------------------------- /01-Full-name/README.md: -------------------------------------------------------------------------------- 1 | ## Specs 2 | 3 | - Implement a ruby method `#full_name` that returns one `string` with a person's full name in a nice format. 4 | 5 | `full_name("Luke", "Skywalker")` should return: 6 | 7 | `"Luke Skywalker"` 8 | 9 | `full_name("boba", "fett")` should return: 10 | 11 | `"Boba Fett"` 12 | 13 | ## Key Learning Points 14 | 15 | - `String` methods 16 | - `String` interpolation 17 | - `return` statement in methods 18 | -------------------------------------------------------------------------------- /01-Full-name/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rspec/core/rake_task' 2 | RSpec::Core::RakeTask.new :spec do |t| 3 | t.fail_on_error = false 4 | end 5 | 6 | require 'rubocop/rake_task' 7 | RuboCop::RakeTask.new :rubocop do |t| 8 | t.options = ['lib/*.rb', '--config=../.rubocop.yml'] 9 | end 10 | 11 | task default: [:spec, :rubocop] 12 | -------------------------------------------------------------------------------- /01-Full-name/lib/full_name.rb: -------------------------------------------------------------------------------- 1 | def full_name(first_name, last_name) 2 | # TODO: return the full name in a nice format 3 | 4 | end 5 | 6 | # To see the result of this method you can uncomment the line below: 7 | # puts full_name("michael", "jackson") 8 | -------------------------------------------------------------------------------- /01-Full-name/spec/full_name_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../lib/full_name' 2 | 3 | describe '#full_name' do 4 | it 'should return a String' do 5 | expect(full_name('Boba', 'Fett')).to be_a(String) 6 | end 7 | 8 | it 'should return capitalized first name' do 9 | expect(full_name('boba', 'Fett') =~ /Boba/).to be_truthy 10 | end 11 | 12 | it 'should return capitalized last name' do 13 | expect(full_name('Boba', 'fett') =~ /Fett/).to be_truthy 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /02-Age-next-year/README.md: -------------------------------------------------------------------------------- 1 | ## Specs 2 | 3 | - Implement a ruby method `#age_next_year` that returns a message telling you how old you'll be in a year. 4 | 5 | `age_next_year(19)` should return: 6 | 7 | `Next year I'll be 20 years old.` 8 | 9 | `age_next_year(30)` should return: 10 | 11 | `Next year I'll be 31 years old.` 12 | 13 | ## Key Learning Points 14 | 15 | - `String` methods 16 | - `String` interpolation 17 | - `Integer` incrementation 18 | - `return` statement in methods 19 | -------------------------------------------------------------------------------- /02-Age-next-year/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rspec/core/rake_task' 2 | RSpec::Core::RakeTask.new :spec do |t| 3 | t.fail_on_error = false 4 | end 5 | 6 | require 'rubocop/rake_task' 7 | RuboCop::RakeTask.new :rubocop do |t| 8 | t.options = ['lib/*.rb', '--config=../.rubocop.yml'] 9 | end 10 | 11 | task default: [:spec, :rubocop] 12 | -------------------------------------------------------------------------------- /02-Age-next-year/lib/age_next_year.rb: -------------------------------------------------------------------------------- 1 | def age_next_year(age) 2 | # TODO: return a message telling you how old you will be in 1 year. 3 | 4 | end 5 | 6 | # To see the result of this method you can uncomment the line below: 7 | # puts age_next_year(25) 8 | -------------------------------------------------------------------------------- /02-Age-next-year/spec/age_next_year_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../lib/age_next_year' 2 | 3 | describe '#age_next_year' do 4 | it 'should return a String' do 5 | expect(age_next_year(32)).to be_a(String) 6 | end 7 | 8 | it 'should return a string with the right age' do 9 | expect(age_next_year(32) =~ /33/).to be_truthy 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /03-Palindrome-word/README.md: -------------------------------------------------------------------------------- 1 | ## Background 2 | 3 | A Palindrome is a word or phrase which reads the same backward or forward, such as madam or kayak. 4 | 5 | ## Specs 6 | 7 | - Implement a Ruby method `palindrome?` that checks if a given word is a palindrome 8 | - This method should take one argument (word), a `String`, and return a `Boolean` (true of false), telling us if the given word is a palindrome or not 9 | - You can assume the one argument is a single word 10 | - It should not be affected by capital letters 11 | 12 | `palindrome?("racecar")` should return `true` 13 | 14 | `palindrome?("wagon")` should return `false` 15 | 16 | ## Key Learning Points 17 | 18 | - `String` methods 19 | - `return` statement in methods 20 | - Predicate methods (methods that return true or false) 21 | -------------------------------------------------------------------------------- /03-Palindrome-word/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rspec/core/rake_task' 2 | RSpec::Core::RakeTask.new :spec do |t| 3 | t.fail_on_error = false 4 | end 5 | 6 | require 'rubocop/rake_task' 7 | RuboCop::RakeTask.new :rubocop do |t| 8 | t.options = ['lib/*.rb', '--config=../.rubocop.yml'] 9 | end 10 | 11 | task default: [:spec, :rubocop] 12 | -------------------------------------------------------------------------------- /03-Palindrome-word/lib/palindrome.rb: -------------------------------------------------------------------------------- 1 | def palindrome?(word) 2 | # TODO: return true/false depending if the *word* is a palindrome 3 | 4 | end 5 | 6 | # To see the result of this method you can uncomment the line below: 7 | # puts palindrome?("Stats") 8 | -------------------------------------------------------------------------------- /03-Palindrome-word/spec/palindrome_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../lib/palindrome' 2 | 3 | describe '#palindrome?' do 4 | it 'returns true for palindrome words' do 5 | expect(palindrome?('racecar')).to be true 6 | end 7 | 8 | it 'returns false for non-palindrome words' do 9 | expect(palindrome?('wagon')).to be false 10 | end 11 | 12 | it 'returns true for palindrome words that start with a capital letter' do 13 | expect(palindrome?('Stats')).to be true 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /04-Merge-and-sort-array/README.md: -------------------------------------------------------------------------------- 1 | ## Specs 2 | 3 | - Implement a ruby method `#merge_and_sort_array` that returns **one** sorted `array` when given two unsorted arrays. 4 | 5 | `merge_and_sort_array(['B', 'C'], ['A', 'D'])` should return: 6 | 7 | `['A', 'B', 'C', 'D']` 8 | 9 | ## Key Learning Points 10 | 11 | - `Array` methods 12 | - `return` statement in methods 13 | -------------------------------------------------------------------------------- /04-Merge-and-sort-array/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rspec/core/rake_task' 2 | RSpec::Core::RakeTask.new :spec do |t| 3 | t.fail_on_error = false 4 | end 5 | 6 | require 'rubocop/rake_task' 7 | RuboCop::RakeTask.new :rubocop do |t| 8 | t.options = ['lib/*.rb', '--config=../.rubocop.yml'] 9 | end 10 | 11 | task default: [:spec, :rubocop] 12 | -------------------------------------------------------------------------------- /04-Merge-and-sort-array/lib/merge_and_sort_array.rb: -------------------------------------------------------------------------------- 1 | def merge_and_sort_array(array_one, array_two) 2 | # TODO: return a the given array sorted alphabetically 3 | 4 | end 5 | 6 | # To see the result of this method you can uncomment the line below: 7 | # p merge_and_sort_array(['B', 'C'], ['A', 'D']) 8 | 9 | -------------------------------------------------------------------------------- /04-Merge-and-sort-array/spec/merge_and_sort_array_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../lib/merge_and_sort_array' 2 | 3 | describe '#merge_and_sort_array' do 4 | it 'should return an Array' do 5 | expect(merge_and_sort_array(['B', 'C'], ['A', 'D'])).to be_a(Array) 6 | end 7 | 8 | it 'should return one sorted array' do 9 | expect(merge_and_sort_array(['B', 'C'], ['A', 'D'])).to eq(['A', 'B', 'C', 'D']) 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /05-Word-counter/README.md: -------------------------------------------------------------------------------- 1 | ## Specs 2 | 3 | - Implement a Ruby method `word_counter` that counts the number of words in a given sentence 4 | - This method should take one argument (sentence), a `String`, and return an `Integer` representing the number of words in the sentence 5 | 6 | `word_counter("The quick brown fox jumps over the lazy dog")` should return `9` 7 | 8 | `word_counter("Le Wagon")` should return `2` 9 | 10 | ## Key Learning Points 11 | 12 | - `String` methods 13 | - `return` statement in methods 14 | - Chaining methods 15 | -------------------------------------------------------------------------------- /05-Word-counter/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rspec/core/rake_task' 2 | RSpec::Core::RakeTask.new :spec do |t| 3 | t.fail_on_error = false 4 | end 5 | 6 | require 'rubocop/rake_task' 7 | RuboCop::RakeTask.new :rubocop do |t| 8 | t.options = ['lib/*.rb', '--config=../.rubocop.yml'] 9 | end 10 | 11 | task default: [:spec, :rubocop] 12 | -------------------------------------------------------------------------------- /05-Word-counter/lib/word_counter.rb: -------------------------------------------------------------------------------- 1 | def word_counter(sentence) 2 | # TODO: return the number of words in the given sentence 3 | 4 | end 5 | 6 | # To see the result of this method you can uncomment the line below: 7 | # p word_counter("Hello world") 8 | -------------------------------------------------------------------------------- /05-Word-counter/spec/word_counter_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../lib/word_counter' 2 | 3 | describe '#word_counter' do 4 | it 'returns an Integer' do 5 | expect(word_counter('The quick brown fox')).to be_a(Integer) 6 | end 7 | 8 | it "returns the correct number of words for 'The quick brown fox'" do 9 | expect(word_counter('The quick brown fox')).to eq(4) 10 | end 11 | 12 | it "returns the correct number of words for 'Hello word!'" do 13 | expect(word_counter('Hello world!')).to eq(2) 14 | end 15 | 16 | it 'returns 0 for empty strings' do 17 | expect(word_counter('')).to eq(0) 18 | end 19 | 20 | it 'returns 0 for strings with only spaces' do 21 | expect(word_counter(' ')).to eq(0) 22 | end 23 | end 24 | -------------------------------------------------------------------------------- /06-Playlist-array/README.md: -------------------------------------------------------------------------------- 1 | ## Specs 2 | 3 | - Implement a ruby method that returns an `Array` of the playlist with your new favorite song inside! 4 | - The method should take an `Array` of your current playlist and add your new favorite song as a `String` in parameters. 5 | 6 | `add_song_to_playlist(["Hotel California", "Bohemian Rhapsody", "Stairway To Heaven"], "Despacito")` should return: 7 | 8 | `["Hotel California", "Bohemian Rhapsody", "Stairway To Heaven", "Despacito"]` 9 | 10 | ## Key Learning Points 11 | 12 | - `Array` CRUD 13 | - `return` statement in methods 14 | -------------------------------------------------------------------------------- /06-Playlist-array/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rspec/core/rake_task' 2 | RSpec::Core::RakeTask.new :spec do |t| 3 | t.fail_on_error = false 4 | end 5 | 6 | require 'rubocop/rake_task' 7 | RuboCop::RakeTask.new :rubocop do |t| 8 | t.options = ['lib/*.rb', '--config=../.rubocop.yml'] 9 | end 10 | 11 | task default: [:spec, :rubocop] 12 | -------------------------------------------------------------------------------- /06-Playlist-array/lib/add_song_to_playlist.rb: -------------------------------------------------------------------------------- 1 | def add_song_to_playlist(playlist_array, new_song) 2 | # TODO: return a playlist (*array* of *strings*) with your new song inside. 3 | 4 | end 5 | 6 | # To see the result of this method you can uncomment the line below: 7 | # p add_song_to_playlist(["Hotel California", "Bohemian Rhapsody", "Stairway To Heaven"], "Despacito") 8 | -------------------------------------------------------------------------------- /06-Playlist-array/spec/add_song_to_playlist_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../lib/add_song_to_playlist' 2 | 3 | describe "#add_song_to_playlist" do 4 | it "should return an Array" do 5 | expect(add_song_to_playlist(["Hotel California", "Bohemian Rhapsody", "Stairway To Heaven"], "Despacito")).to be_a(Array) 6 | end 7 | 8 | it "should return an array with your new favorite song" do 9 | expect(add_song_to_playlist(["Hotel California", "Bohemian Rhapsody", "Stairway To Heaven"], "Despacito").include?("Despacito")).to be_truthy 10 | end 11 | 12 | it "should return the right amount of songs in the array" do 13 | expect(add_song_to_playlist(["Hotel California", "Bohemian Rhapsody", "Stairway To Heaven"], "Despacito").length).to eq(4) 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /07-odd-or-even/README.md: -------------------------------------------------------------------------------- 1 | ## Specs 2 | 3 | - Implement a Ruby method `odd_or_even` that return the string `"odd"` or `"even"` depending on the given `number`. 4 | - This method should take one argument (`number`), an `Integer`, and return a `String` (`"odd"` or `"even"`). 5 | 6 | `odd_or_even(2)` should return `"odd"` 7 | 8 | `odd_or_even(3)` should return `"even"` 9 | 10 | ## Key Learning Points 11 | 12 | - `Integer` methods 13 | - `Conditionals` 14 | - `return` statement in methods 15 | -------------------------------------------------------------------------------- /07-odd-or-even/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rspec/core/rake_task' 2 | RSpec::Core::RakeTask.new :spec do |t| 3 | t.fail_on_error = false 4 | end 5 | 6 | require 'rubocop/rake_task' 7 | RuboCop::RakeTask.new :rubocop do |t| 8 | t.options = ['lib/*.rb', '--config=../.rubocop.yml'] 9 | end 10 | 11 | task default: [:spec, :rubocop] 12 | -------------------------------------------------------------------------------- /07-odd-or-even/lib/odd_or_even.rb: -------------------------------------------------------------------------------- 1 | def odd_or_even(number) 2 | # TODO: return "odd"/"even" depending on the *number* 3 | 4 | end 5 | 6 | # To see the result of this method you can uncomment the line below: 7 | # p odd_or_even(2) 8 | -------------------------------------------------------------------------------- /07-odd-or-even/spec/odd_or_even_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../lib/odd_or_even' 2 | 3 | describe '#odd_or_even' do 4 | it 'should return a String' do 5 | expect(odd_or_even(2)).to be_a(String) 6 | end 7 | 8 | it 'return "even" if given an even number' do 9 | expect(odd_or_even(2)).to eq("even") 10 | end 11 | 12 | it 'return "odd" if given an odd number' do 13 | expect(odd_or_even(3)).to eq("odd") 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /08-Can-you-vote/README.md: -------------------------------------------------------------------------------- 1 | ## Specs 2 | 3 | - Implement a Ruby method `can_you_vote?` that `return`s `true` or `false` depending on the given age. 4 | - This method should take one arguments (age), an `Integer`, and **return** a `Boolean` (`true`/`false`). 5 | 6 | `can_you_vote?(18)` & `can_you_vote?(30)` should return `true` 7 | 8 | `can_you_vote?(16)` should return `false` 9 | 10 | ## Key Learning Points 11 | 12 | - Methods 13 | - Conditionals 14 | - `Boolean` 15 | -------------------------------------------------------------------------------- /08-Can-you-vote/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rspec/core/rake_task' 2 | RSpec::Core::RakeTask.new :spec do |t| 3 | t.fail_on_error = false 4 | end 5 | 6 | require 'rubocop/rake_task' 7 | RuboCop::RakeTask.new :rubocop do |t| 8 | t.options = ['lib/*.rb', '--config=../.rubocop.yml'] 9 | end 10 | 11 | task default: [:spec, :rubocop] 12 | -------------------------------------------------------------------------------- /08-Can-you-vote/lib/can_you_vote.rb: -------------------------------------------------------------------------------- 1 | def can_you_vote?(age) 2 | # TODO: return true/false depending on the *age* given 3 | 4 | end 5 | 6 | # To see the result of this method you can uncomment the line below: 7 | # p can_you_vote?(18) 8 | -------------------------------------------------------------------------------- /08-Can-you-vote/spec/can_you_vote_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../lib/can_you_vote' 2 | 3 | describe '#can_you_vote?' do 4 | it 'returns an Boolean' do 5 | expect(can_you_vote?(20)).to eq(true) 6 | expect(can_you_vote?(16)).to eq(false) 7 | end 8 | 9 | it 'returns true if the age is 18 or higher' do 10 | expect(can_you_vote?(18)).to be true 11 | expect(can_you_vote?(30)).to be true 12 | end 13 | 14 | it 'returns false if the age is lower than 18' do 15 | expect(can_you_vote?(16)).to be false 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /09-Find-max/README.md: -------------------------------------------------------------------------------- 1 | ## Specs 2 | 3 | - Implement a Ruby method `max` that finds the maximum/highest number between two numbers 4 | - This method should take two arguments (a, b), both `Integers`, and **return** another `Integer`, the highest number. 5 | 6 | `max(3, 9)` should return `9` 7 | 8 | `max(5, 1)` should return `5` 9 | 10 | ## Key Learning Points 11 | 12 | - Methods 13 | - Conditionals 14 | - Method Parameters vs. Arguments 15 | -------------------------------------------------------------------------------- /09-Find-max/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rspec/core/rake_task' 2 | RSpec::Core::RakeTask.new :spec do |t| 3 | t.fail_on_error = false 4 | end 5 | 6 | require 'rubocop/rake_task' 7 | RuboCop::RakeTask.new :rubocop do |t| 8 | t.options = ['lib/*.rb', '--config=../.rubocop.yml'] 9 | end 10 | 11 | task default: [:spec, :rubocop] 12 | -------------------------------------------------------------------------------- /09-Find-max/lib/max.rb: -------------------------------------------------------------------------------- 1 | def max(a, b) 2 | # TODO: return the highest number of a and b 3 | 4 | end 5 | 6 | # To see the result of this method you can uncomment the line below: 7 | # p max(2, 3) 8 | -------------------------------------------------------------------------------- /09-Find-max/spec/max_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../lib/max' 2 | 3 | describe '#max' do 4 | it 'returns an Integer' do 5 | expect(max(2, 5)).to be_a(Integer) 6 | end 7 | 8 | it 'returns the correct highest number for 2 and 5' do 9 | expect(max(2, 5)).to eq(5) 10 | end 11 | 12 | it 'returns the correct highest number for 8 and 4' do 13 | expect(max(8, 4)).to eq(8) 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Welcome to the Ruby workshop exercises! 2 | 3 | ![Le Wagon Logo](/_images/logo.png) 4 | 5 | 6 | Have fun! :tada: 7 | 8 | Practice your Ruby skills [on this online platform](http://ruby-workshop.lewagon.com/)! You can use your our [Introduction to Ruby cheatsheet](https://github.com/lewagon/ruby-101) 9 | 10 | --- 11 | 12 | - Don't hesitate if you have any questions, we are here to help! 13 | - Any troubles back home? Send me an email to: `alex@lewagon.com` 14 | 15 | ![Ruby](/_images/ruby.png) 16 | -------------------------------------------------------------------------------- /_images/clone_forked_repo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lewagon/ruby-101-challenges/5dd8a34d19b90b75e1dcfa5ab8ce91fc106602d0/_images/clone_forked_repo.png -------------------------------------------------------------------------------- /_images/clone_workspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lewagon/ruby-101-challenges/5dd8a34d19b90b75e1dcfa5ab8ce91fc106602d0/_images/clone_workspace.png -------------------------------------------------------------------------------- /_images/coding_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lewagon/ruby-101-challenges/5dd8a34d19b90b75e1dcfa5ab8ce91fc106602d0/_images/coding_view.png -------------------------------------------------------------------------------- /_images/confirm_account.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lewagon/ruby-101-challenges/5dd8a34d19b90b75e1dcfa5ab8ce91fc106602d0/_images/confirm_account.png -------------------------------------------------------------------------------- /_images/create_account.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lewagon/ruby-101-challenges/5dd8a34d19b90b75e1dcfa5ab8ce91fc106602d0/_images/create_account.png -------------------------------------------------------------------------------- /_images/create_workspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lewagon/ruby-101-challenges/5dd8a34d19b90b75e1dcfa5ab8ce91fc106602d0/_images/create_workspace.png -------------------------------------------------------------------------------- /_images/fork_repo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lewagon/ruby-101-challenges/5dd8a34d19b90b75e1dcfa5ab8ce91fc106602d0/_images/fork_repo.png -------------------------------------------------------------------------------- /_images/git_clone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lewagon/ruby-101-challenges/5dd8a34d19b90b75e1dcfa5ab8ce91fc106602d0/_images/git_clone.png -------------------------------------------------------------------------------- /_images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lewagon/ruby-101-challenges/5dd8a34d19b90b75e1dcfa5ab8ce91fc106602d0/_images/logo.png -------------------------------------------------------------------------------- /_images/readme_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lewagon/ruby-101-challenges/5dd8a34d19b90b75e1dcfa5ab8ce91fc106602d0/_images/readme_view.png -------------------------------------------------------------------------------- /_images/ruby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lewagon/ruby-101-challenges/5dd8a34d19b90b75e1dcfa5ab8ce91fc106602d0/_images/ruby.png -------------------------------------------------------------------------------- /_images/run_push.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lewagon/ruby-101-challenges/5dd8a34d19b90b75e1dcfa5ab8ce91fc106602d0/_images/run_push.png -------------------------------------------------------------------------------- /_images/set_editor_theme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lewagon/ruby-101-challenges/5dd8a34d19b90b75e1dcfa5ab8ce91fc106602d0/_images/set_editor_theme.png -------------------------------------------------------------------------------- /exercises.yml: -------------------------------------------------------------------------------- 1 | - path: '01-Full-name' 2 | file_name: 'full_name.rb' 3 | group: 'Ruby Basics' 4 | - path: '02-Age-next-year' 5 | file_name: 'age_next_year.rb' 6 | group: 'Ruby Basics' 7 | - path: '03-Palindrome-word' 8 | file_name: 'palindrome.rb' 9 | group: 'Ruby Basics' 10 | - path: '04-Merge-and-sort-array' 11 | file_name: 'merge_and_sort_array.rb' 12 | group: 'Arrays' 13 | - path: '05-Word-counter' 14 | file_name: 'word_counter.rb' 15 | group: 'Arrays' 16 | - path: '06-Playlist-array' 17 | file_name: 'add_song_to_playlist.rb' 18 | group: 'Arrays' 19 | - path: '07-odd-or-even' 20 | file_name: 'odd_or_even.rb' 21 | group: 'Conditionals' 22 | - path: '08-Can-you-vote' 23 | file_name: 'can_you_vote.rb' 24 | group: 'Conditionals' 25 | - path: '09-Find-max' 26 | file_name: 'max.rb' 27 | group: 'Conditionals' 28 | --------------------------------------------------------------------------------