Method: Frameit::Runner#editor

Defined in:
frameit/lib/frameit/runner.rb

#editor(screenshot, config) ⇒ Object



74
75
76
77
78
79
80
# File 'frameit/lib/frameit/runner.rb', line 74

def editor(screenshot, config)
  if screenshot.mac?
    return MacEditor.new(screenshot, config)
  else
    return Editor.new(screenshot, config, Frameit.config[:debug_mode])
  end
end