Sha256: bbfdeb9f15132cc214ffffb4652927811bd4e22631b8bb63fa8e3963a0052694
Contents?: true
Size: 443 Bytes
Versions: 32
Compression:
Stored size: 443 Bytes
Contents
class Lono::Importer class Converter include Download # source is a path def initialize(options={}) @options = options @source = options[:source] end def run tmp_path = "/tmp/lono/import/template.yml" tmp_template_path = download_template(@source, tmp_path) template = IO.read(tmp_template_path) coder = Service::Coder.new(template, @options) coder.translate end end end
Version data entries
32 entries across 32 versions & 1 rubygems