You are right and I am wrong :) Array(nil) == []. But I still back the
idiom point :)


On Mon, Aug 12, 2013 at 8:17 AM, Vinicius Baggio Fuentes <
notifications@github.com> wrote:

> In lib/discover-unused-partials.rb:
>
> > @@ -76,10 +80,9 @@ def used_partials root
> >      end
> >
> >      def process_partials(files)
> > -      partials = []
> > +      partials = @options['keep'] || []
>
> I see. Interesting, I remember this happening on ruby 1.8 (the nil case),
> but 1.9 and 2.0 seems to be working. But that's fine, I agree with your
> comments. Thanks :)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/vinibaggio/discover-unused-partials/pull/10/files#r5711984>
> .
>