File: managed_file.rb

package info (click to toggle)
ruby-aws-sdk-core 3.235.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,288 kB
  • sloc: ruby: 17,870; makefile: 4
file content (16 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Seahorse
  module Client
    # This utility class is used to track files opened by Seahorse.
    # This allows Seahorse to know what files it needs to close.
    class ManagedFile < File

      # @return [Boolean]
      def open?
        !closed?
      end

    end
  end
end