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!

The Serialization Duck Type

We’re going to take a look at common Duck Types in Ruby.

First off, let’s take a look at the Serialization Duck Type and see how it provides a simple informal interface for converting objects to and from strings.

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