Racing Rails
Just some guy learning Ruby on Rails
Saturday, December 7, 2013
Start of my Ruby notes:
Naming convention is to use snake case, all lower case separated by underscores.
variables
my_num = 25
my_boolean = true
my_string = "Hello World"
print "Just Print it" #prints the text in quotes to the string
puts "Here is some more stuff" #prints the text and adds a blank line
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment