Ruby Notes!

Key Terms:

 

  • Object- can be almost anything in Ruby.

    • Think of it like a noun

  • Methods-make the objects do work

    • think of them like the verb

    • however the verb needs to be defined

  • Puts- stands for put s which means put string

  • Characters- letters or numbers that have no value

  • Strings- are a collection of characters that is formed into words with no value

 

def students.do_work

puts “Put your keyboard behind your monitor.”

end

students.do_work

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s