Skip to content

Instantly share code, notes, and snippets.

@svracak
Forked from shime/drugi_zadatak.rb
Created February 25, 2012 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save svracak/1908127 to your computer and use it in GitHub Desktop.
Save svracak/1908127 to your computer and use it in GitHub Desktop.
### Ispišite svoje ime i prezime unatrag
puts "Igor Kolar".reverse
### Ispišite trece slovo svog imena velikim slovom
puts "Igor"[2].capitalize
@svracak
Copy link
Author

svracak commented Feb 25, 2012

print "Bozidar Paun".reverse
print "\n"
puts "Bozidar Paun".capitalize[2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment