module Gio::ListModel
Public Instance Methods
Source
# File lib/gio2/list-model.rb, line 21 def each(&block) return to_enum(__method__) unless block_given? n_items.times do |i| yield(get_item(i)) end end
# File lib/gio2/list-model.rb, line 21 def each(&block) return to_enum(__method__) unless block_given? n_items.times do |i| yield(get_item(i)) end end