Method: OEHClient::Realtime::Response#is_positive?
- Defined in:
- lib/oehclient/realtime/response.rb
#is_positive? ⇒ Boolean
returns true if the curent response is a positive response
61 62 63 |
# File 'lib/oehclient/realtime/response.rb', line 61 def is_positive?() (@sentiment.casecmp(SENTIMENT_POSITIVE) == 0) end |