lib/vfs/entries/dir.rb in vfs-0.4.1 vs lib/vfs/entries/dir.rb in vfs-0.4.2
- old
+ new
@@ -6,9 +6,11 @@
def [] path
path = path.to_s
if path =~ /.+[\/]$/
path = path.sub /\/$/, ''
dir path
+ elsif path =~ /\*/
+ entries path
else
entry path
end
end
alias_method :/, :[]
\ No newline at end of file