Class: Kata::Setup::Node

Inherits:
Base
  • Object
show all
Defined in:
lib/kata/setup/node.rb

Instance Attribute Summary

Attributes inherited from Base

#kata_name, #repo_name

Instance Method Summary collapse

Methods inherited from Base

#create_repo, #initialize

Constructor Details

This class inherits a constructor from Kata::Setup::Base

Instance Method Details

#build_treeObject



6
7
8
9
10
11
12
13
# File 'lib/kata/setup/node.rb', line 6

def build_tree
  %w{lib spec}.each { |path| tree(path) }
  readme
  package_json
  autotest
  kata_file
  kata_spec
end