Have you ever wondered why Ruby has both #to_i and #to_int methods? Or both #to_a and #to_ary? In today's episode we'll answer this question, and look at how we can use implicit conversion methods to our advant https://graceful.dev/courses/tapastry/modules/2014/topic/episode-210-implicit-conversion/
graceful.devImplicit ConversionHave you ever wondered why Ruby has both #to_i and #to_int methods? Or both #to_a and #to_ary? In today's episode we'll answer this question, and look at how we can use implicit conversion methods to our advantage.
0 reposts0 likes