Skip to content

Instantly share code, notes, and snippets.

@msroot
Created March 29, 2016 00:22
Show Gist options
  • Select an option

  • Save msroot/8d00ac1ffd5971c0fd42 to your computer and use it in GitHub Desktop.

Select an option

Save msroot/8d00ac1ffd5971c0fd42 to your computer and use it in GitHub Desktop.
rouxa = ["blouza", "panteloni", "poukamisoo", "sentoni", "fousta"]
def pline(rouxo)
p "plenw to #{rouxo}"
p "anigw to nero"
p "trivw ta rouxa"
p "vazw sapouni "
p "================================================================== "
end
def siderose(rouxo)
p "twra siderwnw"
p "vazw to sidero sti bbriza"
p "sidwrwnw to #{rouxo}"
p "================================================================== "
end
rouxa.each do |rouxo|
# print "twra eimai sto #{rouxo}\n"
pline(rouxo)
if rouxo == "blouza" or rouxo =="fousta"
siderose(rouxo)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment