RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Ruby Coercion Protocols - Part 1

Ruby has powerful protocols to coerce a type into another one. We’ll learn how to take advantage of this mechanism to make our code open for extension. https://blog.dnsimple.com/2016/12/ruby-coercion-protocols-part-1/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in