makes specs way more readable
This commit is contained in:
parent
ff556ab648
commit
8344b85938
23 changed files with 234 additions and 182 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue