lib/html/pipeline.rb in html-pipeline-0.0.4 vs lib/html/pipeline.rb in html-pipeline-0.0.5

- old
+ new

@@ -7,12 +7,12 @@ # framework for defining DOM based content filters and applying them to user # provided content. # # See HTML::Pipeline::Filter for information on building filters. # - # Contruct a Pipeline for running multiple HTML filters. A pipeline is created once - # with one to many filters, and is then can be `call`ed many times over the course + # Construct a Pipeline for running multiple HTML filters. A pipeline is created once + # with one to many filters, and it then can be `call`ed many times over the course # of its lifetime with input. # # filters - Array of Filter objects. Each must respond to call(doc, # context) and return the modified DocumentFragment or a # String containing HTML markup. Filters are performed in the @@ -20,10 +20,10 @@ # default_context - The default context hash. Values specified here will be merged # into values from the each individual pipeline run. Can NOT be # nil. Default: empty Hash. # result_class - The default Class of the result object for individual # calls. Default: Hash. Protip: Pass in a Struct to get - # some semblence of type safety. + # some semblance of type safety. class Pipeline autoload :VERSION, 'html/pipeline/version' autoload :Pipeline, 'html/pipeline/pipeline' autoload :Filter, 'html/pipeline/filter' autoload :BodyContent, 'html/pipeline/body_content'