Class: YMDP::Generator::Templates::Stylesheet
Overview
Stylesheets are located at “#BASE_PATH/app/stylesheets/view.css”.
The source templates are found at “generator/templates/stylesheet.css”
Instance Attribute Summary
Attributes inherited from Base
#application_path, #template_path, #view
Instance Method Summary collapse
Methods inherited from Base
#append_to_file, #confirm_overwrite, #destination_path, #display_path, #generate, #initialize, #process_template, #processed_template, #source_path, #write_processed_template
Constructor Details
This class inherits a constructor from YMDP::Generator::Templates::Base
Instance Method Details
#destination_dir ⇒ Object
199 200 201 |
# File 'lib/view.rb', line 199 def destination_dir "#{application_path}/stylesheets" end |
#destination_filename ⇒ Object
195 196 197 |
# File 'lib/view.rb', line 195 def destination_filename "#{view}.css" end |
#source_filename ⇒ Object
191 192 193 |
# File 'lib/view.rb', line 191 def source_filename "stylesheet.css" end |