module Polyfill::V2_4::Dir::ClassMethods
Public Instance Methods
empty?(path_name)
click to toggle source
# File lib/polyfill/v2_4/dir.rb, line 5 def empty?(path_name) exist?(path_name) && (entries(path_name) - ['.', '..']).empty? end