Sha256: 0f75af9e4bb58aedb0708e54c5c64a98429f23c5d345ce46f4f55e6c56639c43

Contents?: true

Size: 633 Bytes

Versions: 3

Compression:

Stored size: 633 Bytes

Contents

class DebugHelper

  class FileHandler < Handler

    def calls_for_class
      path = obj.path
      [
          [:absolute_path, path],
          [:atime, path],
          [:ctime, path],
          [:executable?, path],
          [:exist?, path],
          [:ftype, path],
          [:mtime, path],
          [:path, path],
          [:pipe?, path],
          [:readable?, path],
          [:realpath, path],
          [:setgid?, path],
          [:setuid?, path],
          [:size, path],
          [:socket?, path],
          [:symlink?, path],
          [:writable?, path],
      ]
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
debug_helper-2.1.0 lib/debug_helper/file_handler.rb
debug_helper-2.0.0 lib/debug_helper/file_handler.rb
debug_helper-1.8.0 lib/debug_helper/file_handler.rb