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.
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!
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