Class: Compass::Commands::ListFrameworks

Inherits:
ProjectBase show all
Defined in:
lib/compass/commands/list_frameworks.rb

Instance Attribute Summary collapse

Attributes inherited from ProjectBase

#project_name

Attributes inherited from Base

#working_path

Attributes included from Actions

#logger

Instance Method Summary collapse

Methods inherited from Base

#perform, register

Methods included from Actions

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

Constructor Details

#initialize(working_path, options) ⇒ ListFrameworks



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

def initialize(working_path, options)
  super
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



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

def options
  @options
end

Instance Method Details

#executeObject



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

def execute
  Compass::Frameworks::ALL.each do |framework|
    puts framework.name
  end
end