Ruby Conf 2013 - Unleash the Secrets of the Standard Library with ...

4 years ago

Speakers
SimpleDelegator, Forwardable, and more By Jim Gay With Ruby you have simple tools at your fingertips that make building powerful tools easy. Ruby's standard library comes with some helpful libraries like 'delegate' and 'forwardable' that will help make your code easier to maintain. We'll dive into how SimpleDelegator is different from method_missing and how Forwardable differs still. Learn the basis of the ideas behind these and combine the features to build your own powerful patterns. See how these compare to libraries like ActiveSupport::Delegation and look at how popular presenter libraries like Draper and DisplayCase work. Help us caption & translate this video! http://amara.org/v/FG4p/
Soyez le premier à laisser un commentaire