module Renderer

Constants

ALL

Public Class Methods

all() click to toggle source
# File lib/renderer/all.rb, line 15
def self.all
    ALL.keys
end
copy_asset(asset, file_name) click to toggle source
# File lib/renderer/all.rb, line 10
def self.copy_asset(asset, file_name)
    FileUtils.copy(File.expand_path("../../export/html/#{asset}", __FILE__),
    File.expand_path(asset, @file_name))
end
pick(r, output_file, config) click to toggle source
# File lib/renderer/all.rb, line 6
def self.pick(r, output_file, config)
    (ALL[(r || 'graphviz').to_sym]).new(output_file, config)
end