module

Cadmium::StringExtension

Instance methods

is_negative?

Determines if a string is more negative than positive. Returns Bool.

Source
is_positive?

Determines if a string is more positive than negative. Returns Bool.

Source
sentiment(inject = nil)

Get the sentiment of a string. Same as running Cadmium::Sentiment.analyze(STRING).

Source