require_relative "common_functions" require_relative "common_parts" module Crys class RssProcessor def initialize(file_path:, image_dir:) @file_path = file_path rss_file = File.read(file_path) instance_eval(rss_file) @assets = [] end def parsed_content rss.content end def filename rss.filename end attr_reader :assets, :file_path private attr_reader :rss end end