Module: BistroCar
- Defined in:
- lib/bistro_car.rb,
lib/bistro_car/bundle.rb,
lib/bistro_car/helpers.rb
Defined Under Namespace
Modules: Helpers Classes: Bundle, BundleController, Engine
Constant Summary collapse
- VERSION =
"0.2.2"
Class Attribute Summary collapse
-
.minify ⇒ Object
Returns the value of attribute minify.
-
.mode ⇒ Object
Returns the value of attribute mode.
Class Method Summary collapse
Class Attribute Details
.minify ⇒ Object
Returns the value of attribute minify.
23 24 25 |
# File 'lib/bistro_car.rb', line 23 def minify @minify end |
.mode ⇒ Object
Returns the value of attribute mode.
23 24 25 |
# File 'lib/bistro_car.rb', line 23 def mode @mode end |
Class Method Details
.compile(source) ⇒ Object
16 17 18 19 20 21 |
# File 'lib/bistro_car.rb', line 16 def compile(source) file = Tempfile.new('script.coffee') file.write(source) file.close %x(coffee -p #{file.path}) end |