<commit_before>#Full Name Greeting
puts "What is your first name?"
first_name = gets.chomp
puts "Your middle name?"
middle_name = gets.chomp
puts "And your last name?"
last_name = gets.chomp
puts "Hello " + first_name + " " + middle_name + " " + last_name + "!"

#Bigger, Better Favorite Number
puts "Tell me your favorite number."
fav_num = gets.chomp.to_i
puts "Why don't you try #{fav_num + 1}, instead? It's bigger and better!"



=begin
How do you define a local variable?



How do you define a method?



What is the difference between a local variable and a method?



How do you run a ruby program from the command line?



How do you run an RSpec file from the command line?



What was confusing about this material? What made sense?



=end<commit_msg>Write reflection<commit_after>#Full Name Greeting
puts "What is your first name?"
first_name = gets.chomp
puts "Your middle name?"
middle_name = gets.chomp
puts "And your last name?"
last_name = gets.chomp
puts "Hello " + first_name + " " + middle_name + " " + last_name + "!"

#Bigger, Better Favorite Number
puts "Tell me your favorite number."
fav_num = gets.chomp.to_i
puts "Why don't you try #{fav_num + 1}, instead? It's bigger and better!"



=begin
How do you define a local variable?

Begin with starting the variable name (with either a lowercase letter or $). 
Then using the equals sign ('=') define the local variable.
e.g. a_variable = 4


How do you define a method?

def method_name(parameters)
	something_happens = parameters
	return something_happens
end

You can put anything on the 'something_happens = parameters' line.
It could be as simple as adding 1 to parameters or just returning parameters. 
It is the meat of the method so whatever you want your method to do, you write it
in the lines between 'def' and 'end'


What is the difference between a local variable and a method?

Methods are used to group together statements that a programmer may want to repeat over and over.
It allows the same piece of code to be executed multiple times without having to 
write that segment of code over and over and voer again.
Local variables are variables that can be used data within a method. 
Methods use local variables.


How do you run a ruby program from the command line?

ruby file/path/filename.rb


How do you run an RSpec file from the command line?

rspec file/path/filename.rb


What was confusing about this material? What made sense?

It pretty much all made sense. I remember a lot of this from doing the codeacademy.


Define Method Exercise: https://github.com/themcny/phase-0/blob/master/week-4/define-method/my_solution.rb
Address Exercise: https://github.com/themcny/phase-0/blob/master/week-4/address/my_solution.rb
Math Methods Exercise: https://github.com/themcny/phase-0/blob/master/week-4/math/my_solution.rb
=end
{'fraction_non_alphanumeric': 0.07378503015253636, 'fraction_numerical': 0.0035473572188719402, 'mean_word_length': 4.136612021857924, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2200613', 'n_tokens_mistral': 872, 'n_tokens_neox': 822, 'n_words': 389}