Method: OEHClient::Realtime::Response#is_neutral?

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

#is_neutral?Boolean

returns true if the current response is a neutral response

Returns:

  • (Boolean)


65
66
67
# File 'lib/oehclient/realtime/response.rb', line 65

def is_neutral?()
  ( @sentiment.casecmp(SENTIMENT_NEUTRAL) == 0)
end