Sha256: db166aa7244ed4cbe87abc286e2b7895147570ca4dd8681998c5cf2f731588ea

Contents?: true

Size: 445 Bytes

Versions: 3

Compression:

Stored size: 445 Bytes

Contents

module Overapp
  class Project
    class Write
      include FromHash
      attr_accessor :output_path, :project

      fattr(:instance) do
        Load::Instance.new(:path => output_path, :overlays => project.overapps)
      end

      def combined_files
        instance.combined_files
      end

      def write!
        raise "no combined files" unless combined_files
        combined_files.write_to!(output_path)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
overapp-0.4.2 lib/overapp/project/write.rb
overapp-0.4.1 lib/overapp/project/write.rb
overapp-0.4.0 lib/overapp/project/write.rb