Method: TNetstring.assert

Defined in:
lib/tnetstring.rb

.assert(truthy, message) ⇒ Object

:nodoc:

Raises:



183
184
185
# File 'lib/tnetstring.rb', line 183

def self.assert(truthy, message) # :nodoc:
  raise ProcessError.new(message) unless truthy
end