Permalink
Browse files

remove explicit check to honor duck typing

  • Loading branch information...
1 parent 4e16491 commit d0f491d8c3a0dee6a8218685af7fb7f2ee6cc581 @matz matz committed May 3, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 tasks/mrbgem_spec.rake
View
@@ -182,7 +182,6 @@ module MRuby
end
def <<(gem)
- fail ArgumentError.new("Don't find directory for this GEM") unless gem.respond_to? :dir
unless @ary.detect {|g| g.dir == gem.dir }
@ary << gem
else

0 comments on commit d0f491d

Please sign in to comment.