Ruby Programming – 34 – Ruby Classes

Ruby tutorial on classes. Programming tutorial on instance variables and classes. Classes explained. We’re going to build a class called Warriors.
★☆★ THE BEST EDITOR and IDE FOR PROGRAMMING ► http://bit.ly/Komodo-IDE-Learn-Ruby ★☆★

★☆★ SIGNUP TO GET MY RUBY BOOK FOR FREE ★☆★

http://bit.ly/free-book-signup

★☆★ FOLLOW ME BELOW ★☆★

Twitter ► http://bit.ly/jake-day-twitter

YouTube ► http://bit.ly/jake-day-youtube

Facebook ► http://bit.ly/jake-day-facebook

SoundCloud ► http://bit.ly/jake-day-soundcloud

★☆★ NOTES ★☆★

Comments

Ekko says:

Lmao! sounds like you are on cocain!! ;P 
love your videos

Charles Brown says:

could you elaborate on attr_accessor syntax when writing classes. thanks in advance

Emīls Škodovs says:

Hey, for some reason I can’t create/open Ruby Shell. When I press the button “Start New Ruby Shell” from the list, all it does is opens Debug Output window. Tried to look for some answers in Preferences, but couldn’t find anything. Any ideas?
But other than that, great videos, easy to learn 😉

Brittany Hicks says:

George Jones! lol. I love it. Great video!

Malevolence says:

Your explanation was better than what i was taught at a coding bootcamp.

So kudos

Karim Naufal says:

No joke, you pump the voltage high bro

Keith Wheeler says:

And the Race is On…Sawyer Brown…Love that song! And LOVE these videos!

ripperx444 says:

Started with ooo Python and moved to Java with lots of collections streams and all the good stuff… trying to pickup Ruby and it’s just annoying! Python you can do
Class Person(object):
name = “”

P = Person()
P.name = “foo”

P.__dict__ and I can serialize it straight to map object!!

In Ruby you can’t even access a memeber variable! It’s so annoying. You need to declare something of sorts. It’s just weird!

 Write a comment

*

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!