Class: Sphere::Backends::Closure
- Inherits:
-
Base
- Object
- Base
- Sphere::Backends::Closure
show all
- Defined in:
- lib/sphere/backends/closure.rb
Instance Attribute Summary
Attributes inherited from Base
#content
Class Method Summary
collapse
Methods inherited from Base
#compressed, #initialize
Class Method Details
.default_options ⇒ Object
9
10
11
12
13
|
# File 'lib/sphere/backends/closure.rb', line 9
def default_options
{ :compilation_level => 'SIMPLE_OPTIMIZATIONS',
:output_format => 'text',
:output_info => 'compiled_code' }
end
|
.uri ⇒ Object
15
16
17
|
# File 'lib/sphere/backends/closure.rb', line 15
def uri
@uri ||= URI.parse('http://closure-compiler.appspot.com/compile')
end
|