Sha256: 76be320b1dde27d20bbfea8604a1cba20c8b70cf2e0935c15bfcde8da397d287

Contents?: true

Size: 334 Bytes

Versions: 12

Compression:

Stored size: 334 Bytes

Contents

module PatternPark
  
  class Library < Sprout
    
    def type
      return 'library'
    end
    
    def execute
      super
      from = target.install_path
      to = File.join(Sprout.project_path, target.project_path)
      FileUtils.makedirs(to)
      TemplateResolver.instance.copy_files(from, to, render)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sprout-0.3.35 lib/library.rb
sprout-0.3.36 lib/library.rb
sprout-0.5.0 lib/library.rb
sprout-0.5.13 lib/library.rb
sprout-0.5.11 lib/library.rb
sprout-0.5.10 lib/library.rb
sprout-0.5.23 lib/library.rb
sprout-0.5.15 lib/library.rb
sprout-0.5.25 lib/library.rb
sprout-0.5.19 lib/library.rb
sprout-0.5.29 lib/library.rb
sprout-0.5.9 lib/library.rb