module Screenshots::Processor

Public Class Methods

generate(url) click to toggle source
# File lib/screenshots/processor.rb, line 4
def self.generate(url)
  page = Screenshots::Page.new(url)
  page.generate_blog_section
end
generate_list(urls) click to toggle source
# File lib/screenshots/processor.rb, line 9
def self.generate_list(urls)
  html = ""
  urls.each do |url|
    html += generate(url)
    html += "\n"
  end
  html
end