Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/string_scorer/string_ext.rb,
lib/string_scorer/scorers/liquidmetal.rb,
lib/string_scorer/scorers/quicksilver.rb

Defined Under Namespace

Modules: LiquidMetal, Quicksilver

Instance Method Summary collapse

Instance Method Details

#score(abbreviation, method = :liquid_metal) ⇒ Object



3
4
5
# File 'lib/string_scorer/string_ext.rb', line 3

def score(abbreviation, method = :liquid_metal)
  StringScorer[method].score(self, abbreviation)
end