lib/ruby_ext/array.rb in ruby-ext-0.4.2 vs lib/ruby_ext/array.rb in ruby-ext-0.4.3

- old
+ new

@@ -4,6 +4,10 @@ filters.collect!{|o| o.is_a?(Regexp) ? o : /#{Regexp.escape o}/} self.select do |line| !filters.any?{|re| line =~ re} end end + + def self.wrap value + Array(value) + end end \ No newline at end of file