makes specs way more readable

This commit is contained in:
Jessica Lynn Suttles 2013-02-15 10:53:40 -08:00
parent ff556ab648
commit 8344b85938
23 changed files with 234 additions and 182 deletions

View file

@ -34,7 +34,7 @@ module Microformats2
property = klass.new(element, property_class).parse
properties = format_classes(element).empty? ? PropertyParser.parse(element.children) : []
properties << property
[property].concat properties
end
end