Method: OEHClient::Realtime::Response#is_negative?

Defined in:
lib/oehclient/realtime/response.rb

#is_negative?Boolean

returns true if the current response is a negative response

Returns:

  • (Boolean)
[View source]

69
70
71
# File 'lib/oehclient/realtime/response.rb', line 69

def is_negative?
	( @sentiment.casecmp(SENTIMENT_NEGATIVE) == 0)
end