Sha256: c7d445c26718af3c238aa2cda831486d4a77f04f06c6d0e227a8980cd075741f

Contents?: true

Size: 235 Bytes

Versions: 23

Compression:

Stored size: 235 Bytes

Contents

class Dir
  Backports::EXCLUDED_CHILDREN = ['.', '..'].freeze unless Backports.const_defined?('EXCLUDED_CHILDREN')
  def self.children(*args)
    entries(*args) - Backports::EXCLUDED_CHILDREN
  end
end unless Dir.respond_to? :children

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
backports-3.21.0 lib/backports/2.5.0/dir/children.rb
backports-3.20.2 lib/backports/2.5.0/dir/children.rb
backports-3.20.1 lib/backports/2.5.0/dir/children.rb
backports-3.20.0 lib/backports/2.5.0/dir/children.rb
backports-3.19.0 lib/backports/2.5.0/dir/children.rb
backports-3.18.2 lib/backports/2.5.0/dir/children.rb
backports-3.18.1 lib/backports/2.5.0/dir/children.rb
backports-3.18.0 lib/backports/2.5.0/dir/children.rb
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/backports-3.12.0/lib/backports/2.5.0/dir/children.rb
backports-3.17.2 lib/backports/2.5.0/dir/children.rb
backports-3.17.1 lib/backports/2.5.0/dir/children.rb
backports-3.17.0 lib/backports/2.5.0/dir/children.rb
backports-3.16.1 lib/backports/2.5.0/dir/children.rb
backports-3.16.0 lib/backports/2.5.0/dir/children.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/backports-3.15.0/lib/backports/2.5.0/dir/children.rb
backports-3.15.0 lib/backports/2.5.0/dir/children.rb
backports-3.14.0 lib/backports/2.5.0/dir/children.rb
backports-3.13.0 lib/backports/2.5.0/dir/children.rb
backports-3.12.0 lib/backports/2.5.0/dir/children.rb
backports-3.11.4 lib/backports/2.5.0/dir/children.rb