class GObjectIntrospection::Repository - gobject-introspection-2.2.0 Documentation

# class GObjectIntrospection::Repository

### Public Instance Methods

each(*namespaces) { |get_info(namespace, i)| ... } click to toggle source

    # File lib/gobject-introspection/repository.rb, line 21
    def each(*namespaces)
      if namespaces.empty?
        namespaces = loaded_namespaces
      end
      namespaces.each do |namespace|
        get_n_infos(namespace).times do |i|
          yield(get_info(namespace, i))
        end
      end
    end