alphagov/smartdown — pull request #55 by GrouchPotato (2014-09-10 09:57:53+00:00)
Title: Refactor nodes

This moves some finders for elements (eg. `node.elements.find { |e| e.is_a?(Smartdown::Model::NextNodeRules) } `) down into the Node model as a step towards having this done at the parsing level.

Includes https://github.com/alphagov/smartdown/pull/50, please merge after