• Vehicles • Fashion • Recipes • Blogs • Hunt • Travels • Sport • Fun • Handmade • IT • Education
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Ruby Programming Language - Full Course

Ruby Programming Language - Full Course

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn the Ruby programming language in this full course / tutorial. The course is designed for new programmers, and will introduce common programming topics using the ruby language. Want more from Mike? He's starting a coding RPG/Bootcamp - https://simulator.dev/ --Course Contents -- -- 1. (0:00) Introduction -- 2. (1:24) Windows Installation -- 3. (4:45) Mac Installation -- 4. (6:38) Hello World / Setup -- 5. (12:01) Drawing a Shape -- 6. (18:17) Variables -- 7. (28:32) Data Types -- 8. (33:13) Working With Strings -- 9. (44:03) Math & Numbers -- 10. (53:54) Getting User Input -- 11. (1:01:09) Building a Calculator -- 12. (1:08:15) Building a Mad Libs Game -- 13. (1:12:45) Arrays -- 14. (1:21:31) Hashes -- 15. (1:27:42) Methods -- 16. (1:35:28) Return Statement -- 17. (1:40:26) If Statements -- 18. (1:52:24) If Statements (continued) -- 19. (1:59:11) Building a Better Calculator -- 20. (2:07:19) Case Expressions -- 21. (2:16:07) While Loops -- 22. (2:22:36) Building a Guessing Game -- 23. (2:35:29) For Loops -- 24. (2:40:01) Exponent Method -- 25. (2:44:45) Comments -- 26. (2:49:23) Reading Files -- 27. (2:57:55) Writing Files -- 28. (3:06:34) Handling Errors -- 29. (3:14:29) Classes & Objects -- 30. (3:24:13) Initialize Method -- 31. (3:31:47) Object Methods -- 32. (3:37:11) Building a Quiz -- 33. (3:46:21) Inheritance -- 34. (3:53:50) Modules -- 35. (3:59:06) Interactive Ruby (irb) Course developed by Mike Dane. Check out his YouTube channel for more great programming courses: https://www.youtube.com/channel/UCvmINlrza7JHB1zkIOuXEbw -Follow Mike on
Date: 2022-03-14

Comments and reviews: 10


So, I just had a bit of a panic after I pressed Alt+R in Atom because I was getting an error message saying -Unable to find command: ruby-, telling me my PATH wasn't configured correctly. If anyone else on Windows 10 is having this problem, I found a way to fix it pretty easy.
1. In Files Explorer, right-click -This PC- in the navigation tree panel on the left.
2. From this menu, select -Properties- at the bottom
3. Select -Advanced System Settings-
4. Click -Environment Variables...- in the advanced tab
5. Under -System Variables-, highlight -Path- and click the -edit- button below.
6. You'll want to create a new variable by selecting -New-
In the blank highlighted row, you have to enter the location you have Ruby installed. I used the default location that the installer had selected, and if you did too, you should be able to select -Browse...- and navigate to C:\Ruby31-x64 or whatever version of Ruby you have installed. Highlight this Ruby folder, click -OK-, and make sure to restart Atom so it'll recognize your changes. Then FINALLY, everything worked for me ;_;
I wrote this for my fellow smooth brains who aren't great with computers yet, so I'm sorry if any of this seemed obvious, but I hope it helps anyone having the same problem. Google saved my life, thankfully!

reply

questionPaper = Array[-
Question.new( Array[-Red-,-green-,-Blue-,-Purple-],- What color is a rose ? -, -A-),-
Question.new( Array[-Red-,-green-,-Blue-,-Purple-],- What color is sky ? -,-C-),-
Question.new( Array[-Red-,-green-,-Blue-,-Purple-],- What color is a brinjal? -, -D-),-
Question.new( Array[-Red-,-green-,-Blue-,-Purple-],- What color is a pear? -,-B-)-
]
this is my code where question is a class
class Question-
attr_accessor :options,:statement, :answer-
def initialize(options,statement,answer)-
-options = options,-
-statement = statement,-
-answer = answer-
end-
end
but when i m printing questionPaper[0].options that prints entire object why so

reply

I installed Ruby exactly as you said and also the IDE instructions plus the package installation instructions for atom-runner afterwards created the ruby file destination .rb then added in the text field print -something- and then pressed alt +r (for windows). what I got in return held me back from going forward with your video. This is the response I got after trying to run atom-runner. Unable to find command: ruby Are you sure PATH is configured correctly?
reply

-2:45:35 There is no such thing as a -hashtag symbol-. A -hashtag- is a combination of a pound sign or number sign (in some English speaking countries it is called a HASH symbol, not hashTAG symbol) and a word or phrase, and ONLY when used with an app/program/service that supports using that combination as a method of tagging an item for searching.
reply

At 59:50, my name.chomp() doesn't work. I get the following error:-
-userinput.rb:3:in -': undefined method -chomp' for nil:NilClass (NoMethodError)-
Any fixes?
Edit:-
If anyone is getting this error, add the '.chomp()' inside the puts statement. It'll be like this:-
puts(-Your name is - + name.to_s.chomp() + -, you are cool!-)

reply

can anyone please help me pls if anyone sees this pls. my packages arent popping up at all they are just saying Fetching featured packages failed.Hide output-
self signed certificate in certificate chain
and everytime i try and download from the site it told me to go on i would download it and it wont download somone pls help

reply

I can't install sqlite3, it's installed in my system but when I try run rails server says -An error occurred while installing sqlite3 (1.4.2), and Bundler cannot continue.-
In Gemfile:-
sqlite3 -

reply

I just picked a random programming language on vs code so here I am
Edit: On vs code open the terminal in the program as a workspace thingy and you can interact with it

reply

Does this old tutorial still makes sense in 2022? I ask this in the nicest possible way. Either way, thank you for sharing the video. I will watch it.
reply

I like it when it's supposed that Linux user by definition is smart enough to install any software so you don't need to make instructions for Linux
reply
Add a review, comment






Other channel videos