Class: CeilingCat::Plugin::TWSS
- Defined in:
- lib/ceiling_cat/plugins/twss.rb
Constant Summary collapse
- RESPONSES =
["That's what she said!", "Uh, that's what she said!", "TWSS", "TWSS!"]
Class Attribute Summary collapse
-
.threshold ⇒ Object
Returns the value of attribute threshold.
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
#body, #body_without_command, #body_without_nick, #body_without_nick_or_command, commands, #commands, #initialize, #pluralize, #reply, #room, store, #store, #user, #words
Constructor Details
This class inherits a constructor from CeilingCat::Plugin::Base
Class Attribute Details
.threshold ⇒ Object
Returns the value of attribute threshold.
6 7 8 |
# File 'lib/ceiling_cat/plugins/twss.rb', line 6 def threshold @threshold end |
Class Method Details
.description ⇒ Object
16 17 18 |
# File 'lib/ceiling_cat/plugins/twss.rb', line 16 def self.description "TWSS via Bayes classifier" end |
.name ⇒ Object
20 21 22 |
# File 'lib/ceiling_cat/plugins/twss.rb', line 20 def self.name "TWSS" end |
.public? ⇒ Boolean
24 25 26 |
# File 'lib/ceiling_cat/plugins/twss.rb', line 24 def self.public? false end |