Class: Compass::Commands::Base

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

Direct Known Subclasses

ProjectBase

Instance Attribute Summary collapse

Attributes included from Actions

#logger

Instance Method Summary collapse

Methods included from Actions

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

Constructor Details

#initialize(working_path, options) ⇒ Base

Returns a new instance of Base.



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

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

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



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

def options
  @options
end

#working_pathObject

Returns the value of attribute working_path.



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

def working_path
  @working_path
end

Instance Method Details

#performObject

Raises:

  • (StandardError)


14
15
16
# File 'lib/compass/commands/base.rb', line 14

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