Sha256: e5714ce4139ab13d71a966bd0cc795cf99f44383eb63cd8a8da51739ea29d231

Contents?: true

Size: 120 Bytes

Versions: 23

Compression:

Stored size: 120 Bytes

Contents

require "fileutils"

module FileUtils
  def self.readable_by_all?(path)
    (File.stat(path).mode & 004) != 0
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
codeclimate-0.17.0 lib/file_utils_ext.rb
codeclimate-0.16.6 lib/file_utils_ext.rb
codeclimate-0.16.5 lib/file_utils_ext.rb
codeclimate-0.16.4 lib/file_utils_ext.rb
codeclimate-0.16.3 lib/file_utils_ext.rb
codeclimate-0.16.2 lib/file_utils_ext.rb
codeclimate-0.16.1 lib/file_utils_ext.rb
codeclimate-0.16.0 lib/file_utils_ext.rb
codeclimate-0.15.2 lib/file_utils_ext.rb
codeclimate-0.15.1 lib/file_utils_ext.rb
codeclimate-0.15.0 lib/file_utils_ext.rb
codeclimate-0.14.7 lib/file_utils_ext.rb
codeclimate-0.14.6 lib/file_utils_ext.rb
codeclimate-0.14.5 lib/file_utils_ext.rb
codeclimate-0.14.4 lib/file_utils_ext.rb
codeclimate-0.14.3 lib/file_utils_ext.rb
codeclimate-0.14.2 lib/file_utils_ext.rb
codeclimate-0.14.1 lib/file_utils_ext.rb
codeclimate-0.14.0 lib/file_utils_ext.rb
codeclimate-0.13.0 lib/file_utils_ext.rb