Sha256: 49dbbc8832cd2911175b129725d6f9381f9eb9e40e0f5497433633277cc1caff
Contents?: true
Size: 165 Bytes
Versions: 1
Compression:
Stored size: 165 Bytes
Contents
class Dir class << self def clean_entries(dir) entries = entries(dir) entries.delete '.' entries.delete '..' entries end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dir_model-0.2.0 | lib/dir_model/core_ext/dir.rb |