Skip to content

Instantly share code, notes, and snippets.

@wicky-andrian
Created April 22, 2020 12:29
Show Gist options
  • Save wicky-andrian/41464d0f10a9a2c19e9e04b81f7d4b70 to your computer and use it in GitHub Desktop.
Save wicky-andrian/41464d0f10a9a2c19e9e04b81f7d4b70 to your computer and use it in GitHub Desktop.
Contoh metode string part 5
a = "Ruby"
puts a.rjust(8)
puts a.rjust(8, '****')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment