Class: Chester::Command::Install

Inherits:
Base
  • Object
show all
Defined in:
lib/chester/commands/install.rb

Instance Attribute Summary

Attributes inherited from Base

#args

Instance Method Summary collapse

Methods inherited from Base

#display, #initialize

Methods included from Helpers

#home_directory, #running_on_a_mac?, #running_on_windows?

Constructor Details

This class inherits a constructor from Chester::Command::Base

Instance Method Details

#indexObject



3
4
5
6
# File 'lib/chester/commands/install.rb', line 3

def index
  FileUtils.cp File.dirname(__FILE__) + '/../templates/chester.coffee', FileUtils.pwd
  display 'installed chester.coffee in to the working directory....'
end