Class: FakeFormula
- Inherits:
-
Odyssey::Formula
- Object
- Odyssey::Formula
- FakeFormula
- Defined in:
- lib/odyssey/formulas/fake_formula.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
11 12 13 |
# File 'lib/odyssey/formulas/fake_formula.rb', line 11 def name "It's fake" end |
#score(text, stats) ⇒ Object
3 4 5 |
# File 'lib/odyssey/formulas/fake_formula.rb', line 3 def score(text, stats) text end |
#score_by_sentence(text, stats_split) ⇒ Object
7 8 9 |
# File 'lib/odyssey/formulas/fake_formula.rb', line 7 def score_by_sentence(text, stats_split) text["sentences"] end |