Sha256: f23ed5ecc714a79a7eb58ac6a5f33a63439713adf79b51a4eb2170cf506bdb3f
Contents?: true
Size: 270 Bytes
Versions: 1
Compression:
Stored size: 270 Bytes
Contents
module Skippy::Helpers module File # @param [Pathname] # @return [Array<Pathname>] def directories(pathname) return [] unless pathname.exist? pathname.children.select { |child| child.directory? } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skippy-0.2.0.a | lib/skippy/helpers/file.rb |