Class: Natural::Alternative
- Defined in:
- lib/natural/fragment.rb
Instance Attribute Summary
Attributes inherited from Fragment
Instance Method Summary collapse
Methods inherited from Fragment
#all_filters, #clone, #data, find, #id_range, #ids, #ids=, #initialize, #pretty_to_s, recurse_alternatives, #to_s
Constructor Details
This class inherits a constructor from Natural::Fragment
Instance Method Details
#score ⇒ Object
269 270 271 |
# File 'lib/natural/fragment.rb', line 269 def score super - 2 end |