Class: GPhoto2::PortResult

Inherits:
Object
  • Object
show all
Defined in:
lib/gphoto2/port_result.rb

Class Method Summary collapse

Class Method Details

.as_string(rc) ⇒ String

Parameters:

  • rc (Integer)

Returns:

  • (String)


5
6
7
# File 'lib/gphoto2/port_result.rb', line 5

def self.as_string(rc)
  FFI::GPhoto2Port.gp_port_result_as_string(rc)
end