Ref #177 Passive detection of specific plugins (Dirty work)

This commit is contained in:
erwanlr
2013-05-03 17:51:14 +02:00
parent dca987b64b
commit 7a963e346a
3 changed files with 73 additions and 5 deletions

View File

@@ -6,4 +6,9 @@ require 'common/collections/wp_items/output'
class WpItems < Array
extend WpItems::Detectable
include WpItems::Output
def +(other)
other.each { |item| self << item }
self
end
end