Mega Code Archive
Categories
/
Ruby
/
String
Each_byte block logics
#!/usr/bin/env ruby thoreau = "If a man does not keep pace with his companions, perhaps it is because he hears a different drummer." thoreau.each_byte do |c| print c.chr, "/" end