Sha256: 16648750e8b323600e053aa602b9cc471a6dfec7dd60ea776babc8d17bad378e

Contents?: true

Size: 120 Bytes

Versions: 22

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

22 entries across 22 versions & 1 rubygems

Version Path
codeclimate-0.9.7 lib/file_utils_ext.rb
codeclimate-0.9.6 lib/file_utils_ext.rb
codeclimate-0.9.5 lib/file_utils_ext.rb
codeclimate-0.9.4 lib/file_utils_ext.rb
codeclimate-0.9.3 lib/file_utils_ext.rb
codeclimate-0.9.2 lib/file_utils_ext.rb
codeclimate-0.9.1 lib/file_utils_ext.rb
codeclimate-0.9.0 lib/file_utils_ext.rb
codeclimate-0.8.1 lib/file_utils_ext.rb
codeclimate-0.8.0 lib/file_utils_ext.rb
codeclimate-0.7.2 lib/file_utils_ext.rb
codeclimate-0.7.0 lib/file_utils_ext.rb
codeclimate-0.6.4 lib/file_utils_ext.rb
codeclimate-0.6.3 lib/file_utils_ext.rb
codeclimate-0.6.2 lib/file_utils_ext.rb
codeclimate-0.6.1 lib/file_utils_ext.rb
codeclimate-0.6.0 lib/file_utils_ext.rb
codeclimate-0.5.0 lib/file_utils_ext.rb
codeclimate-0.4.4 lib/file_utils_ext.rb
codeclimate-0.4.3 lib/file_utils_ext.rb