Method: Frame::Generators::LayoutGenerator#remove_index
- Defined in:
- lib/generators/frame/layout/layout_generator.rb
#remove_index ⇒ Object
13 14 15 16 17 18 |
# File 'lib/generators/frame/layout/layout_generator.rb', line 13 def remove_index filename="public/index.html" #if File.exists?(filename) and yes?("Would you like to remove '#{filename}'?") remove_file filename #end end |