Class: Compass::Commands::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/compass/commands/base.rb

Direct Known Subclasses

CreateProject, InstallRails, UpdateProject

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(working_directory, options) ⇒ Base

Returns a new instance of Base.



5
6
7
8
# File 'lib/compass/commands/base.rb', line 5

def initialize(working_directory, options)
  self.working_directory = working_directory
  self.options = options
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



4
5
6
# File 'lib/compass/commands/base.rb', line 4

def options
  @options
end

#working_directoryObject

Returns the value of attribute working_directory.



4
5
6
# File 'lib/compass/commands/base.rb', line 4

def working_directory
  @working_directory
end

Instance Method Details

#performObject

Raises:

  • (StandardError)


10
11
12
# File 'lib/compass/commands/base.rb', line 10

def perform
  raise StandardError.new("Not Implemented")
end