Class: Compass::Commands::CreateProject

Inherits:
StampPattern show all
Defined in:
lib/compass/commands/create_project.rb

Instance Attribute Summary

Attributes inherited from ProjectBase

#options, #project_name

Attributes inherited from Base

#options, #working_path

Attributes included from Actions

#logger

Instance Method Summary collapse

Methods inherited from StampPattern

#perform, #template_directory

Methods included from InstallerCommand

#configure!, #installer, #installer_args

Methods inherited from ProjectBase

#execute

Methods inherited from Base

#execute, #perform

Methods included from Actions

#basename, #compile, #copy, #directory, #relativize, #remove, #separate, #strip_trailing_separator, #write_file

Constructor Details

#initialize(working_path, options) ⇒ CreateProject

Returns a new instance of CreateProject.



9
10
11
# File 'lib/compass/commands/create_project.rb', line 9

def initialize(working_path, options)
  super(working_path, options.merge(:pattern => "project", :pattern_name => nil))
end

Instance Method Details

#is_project_creation?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/compass/commands/create_project.rb', line 13

def is_project_creation?
  true
end