class FakeFormula

Public Instance Methods

name() click to toggle source
# File lib/odyssey/formulas/fake_formula.rb, line 11
def name
  "It's fake"
end
score(text, stats) click to toggle source
# File lib/odyssey/formulas/fake_formula.rb, line 3
def score(text, stats)
  text
end
score_by_sentence(text, stats_split) click to toggle source
# File lib/odyssey/formulas/fake_formula.rb, line 7
def score_by_sentence(text, stats_split)
  text["sentences"]
end