Post

For core types like Float, Ruby has both conversion methods (#to_f), and conversion functions (Float()). When should we use one vs. the other? This episode attempts to answer that question. https://graceful.dev/courses/tapastry/modules/2014/topic/episode-208-lenient-conversions/

graceful.devLenient ConversionsFor core types like Float, Ruby has both conversion methods (#to_f), and conversion functions (Float()). When should we use one vs. the other? This episode attempts to answer that question.

0 reposts0 likes

No replies yet.