Class: Assette::Reader::Coffee
- Inherits:
-
Object
- Object
- Assette::Reader::Coffee
- Defined in:
- lib/assette/readers/coffee.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.comment_str ⇒ Object
9 10 11 |
# File 'lib/assette/readers/coffee.rb', line 9 def self.comment_str '# %s' end |
.compile_str(text) ⇒ Object
13 14 15 |
# File 'lib/assette/readers/coffee.rb', line 13 def self.compile_str text CoffeeScript.compile text end |
Instance Method Details
#compile ⇒ Object
5 6 7 |
# File 'lib/assette/readers/coffee.rb', line 5 def compile self.class.compile_str text end |