module Polyfill::V2_4::Pathname

Public Instance Methods

empty?() click to toggle source
# File lib/polyfill/v2_4/pathname.rb, line 4
def empty?
  if directory?
    children.empty?
  else
    zero?
  end
end