Module: Gio::File

Includes:
Enumerable
Defined in:
lib/gio2.rb

Instance Method Summary collapse

Instance Method Details

#each_async(num_files, attributes = nil, flags = nil, io_priority = GLib::PRIORITY_DEFAULT, cancellable = nil, &block) ⇒ Object



70
71
72
73
74
75
76
77
# File 'lib/gio2.rb', line 70

def each_async(num_files, attributes = nil, flags = nil,
               io_priority = GLib::PRIORITY_DEFAULT, cancellable = nil,
               &block)
  enumerate_children_async attributes, flags, io_priority, cancellable do |result|
    enumerate_children_finish(result).each_async num_files, io_priority, cancellable, &block
  end
  self
end

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


64
65
66
# File 'lib/gio2.rb', line 64

def eql?(other)
  self === other and self == other
end