summaryrefslogtreecommitdiff
path: root/new/lib/crys/processors/rss_processor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'new/lib/crys/processors/rss_processor.rb')
-rw-r--r--new/lib/crys/processors/rss_processor.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/new/lib/crys/processors/rss_processor.rb b/new/lib/crys/processors/rss_processor.rb
index bce48ad6..de79f11b 100644
--- a/new/lib/crys/processors/rss_processor.rb
+++ b/new/lib/crys/processors/rss_processor.rb
@@ -1,5 +1,7 @@
-require_relative "common_functions"
-require_relative "common_parts"
+# frozen_string_literal: true
+
+require_relative 'common_functions'
+require_relative 'common_parts'
module Crys
class RssProcessor
@@ -8,6 +10,7 @@ module Crys
rss_file = File.read(file_path)
instance_eval(rss_file)
@assets = []
+ @image_dir = image_dir # just for api consistency
end
def parsed_content
@@ -23,6 +26,5 @@ module Crys
private
attr_reader :rss
-
end
end