Finally i got the time to play around a little with ruby. I just want a little programm to calculate between binary, octal and hexadecimal. But it was quite hard to find the correct funtions (maybe i just used the wrong keywords) so as you may see here it is quite easy if you use the FORMAT Object to print out the numbers:
num = [
0xB0, 0xC1, 0x55, 0x99, 0x0C, 0x47, 0xB9, 0x88, 0xEE, 0x10, 0x30, 0x09, 0xAB, 0x35, 0x22, 0xDA]
num.each{|x|
print format("%d",x), "=>", format("%x",x), "\n"
}
0xB0, 0xC1, 0x55, 0x99, 0x0C, 0x47, 0xB9, 0x88, 0xEE, 0x10, 0x30, 0x09, 0xAB, 0x35, 0x22, 0xDA]
num.each{|x|
print format("%d",x), "=>", format("%x",x), "\n"
}