Class: Assets::Rule::Compile::Javascript::Coffescript
- Inherits:
-
Assets::Rule::Compile::Javascript
- Object
- Assets::Rule
- Assets::Rule::Compile
- Assets::Rule::Compile::Javascript
- Assets::Rule::Compile::Javascript::Coffescript
- Defined in:
- lib/assets/rule/compile/javascript/coffescript.rb
Overview
Compiler for sass
Constant Summary
Constants inherited from Assets::Rule::Compile::Javascript
Instance Method Summary collapse
-
#body ⇒ String
private
Return body.
Methods inherited from Assets::Rule::Compile
build, #mime, mime, #name, registry, #target_name, #updated_at
Methods inherited from Assets::Rule
#asset, #fresh_at?, #mime, #rename, #updated_at
Instance Method Details
#body ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return body
16 17 18 |
# File 'lib/assets/rule/compile/javascript/coffescript.rb', line 16 def body binary(::CoffeeScript.compile(utf8(input.body))) end |