Class: Compass::Commands::ListFrameworks

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(working_path, options) ⇒ ListFrameworks

Returns a new instance of ListFrameworks.



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

def initialize(working_path, options)
  self.options = options
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

#performObject



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

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