RubyConf 2016 - A Look at Hooks by Craig Buchek

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=x7F4kkdKQbQ



Duration: 18:07
497 views
6


RubyConf 2016 - A Look at Hooks by Craig Buchek

Ruby has several methods that are invoked implicitly under certain circumstances. These methods are called "hooks", and they provide points to extend behavior. While hooks might seem like "spooky action at a distance", they can be really powerful. In fact, hooks are one of the primary ways that Ruby provides for meta-programming.

Unfortunately, Ruby's hooks are not all documented very well. We'll take a look at what hooks are available and how to use them. We'll also talk about when to avoid using hooks and provide some tips on how to troubleshoot when hooks are involved.




Other Videos By Confreaks


2016-11-21RubyConf 2016 - Halve Your Memory Usage With These 12 Weird Tricks
2016-11-21RubyConf 2016 - Diving into the Details with DTrace by Colin Jones
2016-11-21RubyConf 2016 - To Clojure and back: writing and rewriting in Ruby by Phill MV
2016-11-21RubyConf 2016 - Why recursion matters by James Coglan
2016-11-21RubyConf 2016 - Composition by James Dabbs
2016-11-21RubyConf 2016 - Building maintainable command-line tools with MRuby by Eric Hodel
2016-11-21RubyConf 2016 - Lightning Talks by Various Presenters
2016-11-21RubyConf 2016 - Slo Mo by Richard Schneeman
2016-11-21RubyConf 2016 - Lies, Damned Lies, and Substrings by Haseeb Qureshi
2016-11-21RubyConf 2016 - Keyword Args — the killer Ruby feature you aren't using by Guyren G. Howe
2016-11-21RubyConf 2016 - A Look at Hooks by Craig Buchek
2016-11-21RubyConf 2016 - Deletion Driven Development: Code to delete code! by Chris Arcand
2016-11-21RubyConf 2016 - Problem Solved! Using Logic Programming to Find Answers by Gavin McGimpsey
2016-11-21RubyConf 2016 - Dōmo arigatō, Mr. Roboto: Machine Learning with Ruby by Eric Weinstein
2016-11-21RubyConf 2016 - “Am I Senior Yet?” Grow Your Career by Teaching Your Peers Katlyn Parvin
2016-11-21RubyConf 2016 - Continuing Education at Work by Katherine Wu
2016-11-21RubyConf 2016 - Bootcamp Grads Have Feelings, Too by Max Tiu
2016-11-21RubyConf 2016 - Attention Rubyists: you can write video games by Cory Chamblin
2016-11-21RubyConf 2016 - Ruby 3 Concurrency by Koichi Sasada
2016-11-21RubyConf 2016 - Ruby’s C Extension Problem and How We're Solving It by Chris Seaton
2016-11-21RubyConf 2016 - Implementing Virtual Machines in Ruby (and C) by Eleanor McHugh