When “Tharah” became “Sarah”

So today was a .downcase!, .include? and .gsub! introduction…. I am struggling with some of my odering and recalling the simple things like adding a end after an if or else. With perserverance and concentrating- (a little hard with 4 children consentantly interrupting) I managed to figure it out.

Computer generated “Tharah”

This code basically takes an input drops it to lowercase hunts for the presence of the letter “s” and replaces any s the “th”. It is basically the reverese code of how my brothers speech therapist in the 1980’s taught hin to put his snake (aka tongue) behind its gate (aka teeth) and soon I became Sarah rather than Tharah.

About Sarah

Currently teaching in Collingwood College as a science and outdoor education high school teacher. After a huge 2020 I have decided to change direction and later in the year plan to undertake a coding bootcamp... After training to be a teacher via a Diploma of Education and Masters in Chemistry via thesis on the effects of bushfire on receiving water bodies (Gippsland 2002-2003) at Monash University Clayton Campus, Melbourne, Australia I have been teaching in Secondary schools in Melbourne including Sophia Mundi Steiner School . I have been an active member of the Australian Breastfeeding Association (ABA), represented Australia at the world Canoe Polo Championships, am keen on other sports: netball, basketball and road cycling. I am a keen gardener and owner of chickens as well as a German Shorthaired Pointer and mother to four children. Life is busy but I would not have it any other way!
This entry was posted in methods, ruby and tagged , , . Bookmark the permalink.

Comments are closed.