Class: GMSEC::Status

Inherits:
Object
  • Object
show all
Extended by:
API
Defined in:
lib/gmsec/status.rb

Instance Method Summary collapse

Methods included from API

bind, extended, has

Instance Method Details

#codeObject



16
17
18
# File 'lib/gmsec/status.rb', line 16

def code
  gmsec_GetStatusCode(self)
end

#is_error?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/gmsec/status.rb', line 8

def is_error?
  gmsec_isStatusError(self) > 0
end

#to_sObject



12
13
14
# File 'lib/gmsec/status.rb', line 12

def to_s
  gmsec_GetStatusString(self)
end