Class: Ti::Compiler::SASSScripts
- Inherits:
-
Object
- Object
- Ti::Compiler::SASSScripts
- Extended by:
- Utils
- Defined in:
- lib/ti/compiler/sass_scripts.rb
Class Method Summary collapse
-
.compile ⇒ Object
def compile(contents, compile_to_location).
Methods included from Utils
append_to_router, base_location, create_directories, create_new_file, create_with_template, error, get_app_name, log, remove_directories, remove_files, templates, touch, underscore
Class Method Details
.compile ⇒ Object
def compile(contents, compile_to_location)
9 10 11 12 |
# File 'lib/ti/compiler/sass_scripts.rb', line 9 def compile system "sass --compass -C -t expand app/#{underscore(get_app_name)}/stylesheets/app.sass > Resources/app.jss" log "Your SASS have been compiled to: Resources/app.jss" end |