+ 1

How can i convert varible to boolean, string, float in ruby?

4th Feb 2018, 4:45 AM
Denis
2 Antworten
+ 5
x.to_b x.to_s x.to_f
4th Feb 2018, 7:14 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
Thank you!
4th Feb 2018, 7:51 AM
Denis