require 'kata/setup/base' module Kata module Setup class Node < Kata::Setup::Base def build_tree %w{lib spec}.each { |path| tree(path) } readme package_json autotest kata_file kata_spec end private # Using here docs for a cheap templating system def package_json write_repo_file('package.json',<