Class | Scrubyt::ConstraintAdder |
In: |
lib/scrubyt/core/scraping/constraint_adder.rb
|
Parent: | Object |
Originally methods of Pattern - but since Pattern was already too heavy (and after all, adding a constraint (logically) does not belong to Pattern anyway) it was moved to this utility class. In pattern everything that begins with ensure_ is automatically dispatched here.
I will not document the functions since these are just forwarders; See the ‘real’ functions with their documentation in Scrubyt::Constraint.rb