Class: Vips::Connection

Inherits:
Object show all
Defined in:
lib/vips/connection.rb

Overview

Abstract base class for connections.

Direct Known Subclasses

Source, Target

Defined Under Namespace

Modules: ConnectionLayout Classes: ManagedStruct, Struct

Instance Attribute Summary

Attributes inherited from GObject::GObject

#ptr, #references

Instance Method Summary collapse

Methods inherited from Object

#get, #get_pspec, #get_typeof, #get_typeof_error, print_all, #set, #signal_connect

Methods inherited from GObject::GObject

#ffi_managed_struct, ffi_managed_struct, #ffi_struct, ffi_struct, #initialize

Constructor Details

This class inherits a constructor from GObject::GObject

Instance Method Details

#filenameObject

Get any filename associated with a connection, or nil.



36
37
38
# File 'lib/vips/connection.rb', line 36

def filename
  Vips.vips_connection_filename self
end

#nickObject

Get a nickname (short description) of a connection that could be shown to the user.



42
43
44
# File 'lib/vips/connection.rb', line 42

def nick
  Vips.vips_connection_nick self
end