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

Version Path
lono-8.0.0.pre.rc3 lib/lono/importer/converter.rb
lono-8.0.0.pre.rc2 lib/lono/importer/converter.rb
lono-8.0.0.pre.rc1 lib/lono/importer/converter.rb
lono-7.5.2 lib/lono/importer/converter.rb
lono-7.5.1 lib/lono/importer/converter.rb
lono-7.5.0 lib/lono/importer/converter.rb
lono-7.4.11 lib/lono/importer/converter.rb
lono-7.4.10 lib/lono/importer/converter.rb
lono-7.4.9 lib/lono/importer/converter.rb
lono-7.4.8 lib/lono/importer/converter.rb
lono-7.4.7 lib/lono/importer/converter.rb
lono-7.4.6 lib/lono/importer/converter.rb
lono-7.4.5 lib/lono/importer/converter.rb
lono-7.4.4 lib/lono/importer/converter.rb
lono-7.4.3 lib/lono/importer/converter.rb
lono-7.4.2 lib/lono/importer/converter.rb
lono-7.4.1 lib/lono/importer/converter.rb
lono-7.4.0 lib/lono/importer/converter.rb
lono-7.3.2 lib/lono/importer/converter.rb
lono-7.3.1 lib/lono/importer/converter.rb