Sha256: caaeb6c288a78ae9985e8b9592a8f0d5c703eceea6dea9be3e7dbeece6fd4917
Contents?: true
Size: 547 Bytes
Versions: 1
Compression:
Stored size: 547 Bytes
Contents
module Overapp class Project class Write include FromHash attr_accessor :output_path, :project fattr(:instance) do Load::Instance.new(:overlays => project.overapps, :vars => Overapp::Var.vars.merge(project.vars)) end def combined_files instance.combined_files end def write! raise "no combined files" unless combined_files Overapp::Git.commit(output_path,"Overlay Created") do combined_files.write_to!(output_path) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
overapp-0.5.1 | lib/overapp/project/write.rb |