<commit_before>puts "enter your birthdate: mmddyyy"


birthdate = gets


number = birthdate[0].to_i + birthdate[1].to_i + birthdate[2].to_i + birthdate[3].to_i + birthdate[4].to_i + birthdate[5].to_i + birthdate[6].to_i + birthdate[7].to_i
number = number.to_s
number = number[0].to_i + number[1].to_i

if number > 9
	number = number[0].to_i + number[1].to_i
end
case number
when 1
	puts 'One is the leader. The number one indicates the ability to stand alone, and is a strong vibration. Ruled by the Sun.'
when 2
	puts ' This is the mediator and peace-lover. The number two indicates the desire for harmony. It is a gentle, considerate, and sensitive vibration. Ruled by the Moon.'
when 3
	puts 'Number Three is a sociable, friendly, and outgoing vibration. Kind, positive, and optimistic, Three’s enjoy life and have a good sense of humor. Ruled by Jupiter.'
when 4
	puts 'This is the worker. Practical, with a love of detail, Fours are trustworthy, hard-working, and helpful. Ruled by Uranus.'
when 5
	puts 'This is the freedom lover. The number five is an intellectual vibration. These are ‘idea’ people with a love of variety and the ability to adapt to most situations. Ruled by Mercury.'
when 6
	puts 'This is the peace lover. The number six is a loving, stable, and harmonious vibration. Ruled by Venus.'
when 7
	puts 'This is the deep thinker. The number seven is a spiritual vibration. These people are not very attached to material things, are introspective, and generally quiet. Ruled by Neptune.'
when 8
	puts 'vibration. Ruled by Saturn.'
when 9
	puts 'This is the teacher. Number Nine is a tolerant, somewhat impractical, and sympathetic vibration. Ruled by Mars.'
else
	"Something went wrong!"
end<commit_msg>Rewrote numberology.rb with methods and parameters<commit_after>

def birthday_path(date)

number = date[0].to_i + date[1].to_i + date[2].to_i + date[3].to_i + date[4].to_i + date[5].to_i + date[6].to_i + date[7].to_i
number = number.to_s
number = number[0].to_i + number[1].to_i

	if number > 9
		number = number[0].to_i + number[1].to_i
	end

	return number
end

def get_message(birthday_path)
	case birthday_path
	when 1
		message = 'One is the leader. The number one indicates the ability to stand alone, and is a strong vibration. Ruled by the Sun.'
	when 2
		message = ' This is the mediator and peace-lover. The number two indicates the desire for harmony. It is a gentle, considerate, and sensitive vibration. Ruled by the Moon.'
	when 3
		message = 'Number Three is a sociable, friendly, and outgoing vibration. Kind, positive, and optimistic, Three’s enjoy life and have a good sense of humor. Ruled by Jupiter.'
	when 4
		message = 'This is the worker. Practical, with a love of detail, Fours are trustworthy, hard-working, and helpful. Ruled by Uranus.'
	when 5
		message = 'This is the freedom lover. The number five is an intellectual vibration. These are ‘idea’ people with a love of variety and the ability to adapt to most situations. Ruled by Mercury.'
	when 6
		message = 'This is the peace lover. The number six is a loving, stable, and harmonious vibration. Ruled by Venus.'
	when 7
		message = 'This is the deep thinker. The number seven is a spiritual vibration. These people are not very attached to material things, are introspective, and generally quiet. Ruled by Neptune.'
	when 8
		message = 'vibration. Ruled by Saturn.'
	when 9
		message = 'This is the teacher. Number Nine is a tolerant, somewhat impractical, and sympathetic vibration. Ruled by Mars.'
	else
		"Something went wrong!"
	end

end
puts "Enter your birthdate: mmddyyy"
birthdate = gets
birthday_path_num = birthday_path(birthdate)
message = get_message(birthday_path_num)
puts message

{'fraction_non_alphanumeric': 0.07613390928725702, 'fraction_numerical': 0.011879049676025918, 'mean_word_length': 4.1386962552011095, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '5423653', 'n_tokens_mistral': 1205, 'n_tokens_neox': 1102, 'n_words': 529}