Method: ALSA::Native.error_code?

Defined in:
lib/alsa/native.rb

.error_code?(response) ⇒ Boolean

Returns:

  • (Boolean)

8
9
10
# File 'lib/alsa/native.rb', line 8

def self.error_code?(response)
  response and response < 0
end