Class: Entityjs::ParseCoffee
- Inherits:
-
Object
- Object
- Entityjs::ParseCoffee
- Defined in:
- lib/entityjs/parsers/parse_coffee.rb
Class Method Summary collapse
Class Method Details
.parse(data, ops = {}) ⇒ Object
5 6 7 8 |
# File 'lib/entityjs/parsers/parse_coffee.rb', line 5 def self.parse(data, ops={}) ops[:no_wrap] ||= true return CoffeeScript.compile(data, ops) end |