File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ class HTMLPipeline
1616 # Each filter may define additional options and output values. See the class
1717 # docs for more info.
1818 class Filter
19- attr_accessor :context
20-
2119 class InvalidDocumentException < StandardError ; end
2220
2321 def initialize ( context : { } , result : { } )
@@ -29,7 +27,7 @@ def initialize(context: {}, result: {})
2927 # Public: Returns a simple Hash used to pass extra information into filters
3028 # and also to allow filters to make extracted information available to the
3129 # caller.
32- attr_reader :context
30+ attr_accessor :context
3331
3432 # Public: Returns a Hash used to allow filters to pass back information
3533 # to callers of the various Pipelines. This can be used for
Original file line number Diff line number Diff line change 44
55class HTMLPipeline
66 class NodeFilter < Filter
7+ attr_accessor :context
8+
79 def initialize ( context : { } , result : { } )
810 super ( context : context , result : { } )
911 send ( :after_initialize ) if respond_to? ( :after_initialize )
You can’t perform that action at this time.
0 commit comments