Class: Breezeblocks::ListGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/breezeblocks/list_generator.rb

Instance Method Summary collapse

Instance Method Details

#listObject



7
8
9
10
11
12
13
# File 'lib/breezeblocks/list_generator.rb', line 7

def list
  puts 'Available Breezeblocks'
  puts '================='
  stylesheets.each do |file_name|
    puts '- ' + file_name.gsub(/_|\.sass/, '')
  end
end