Class: Shift::UglifyJS
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Identity
available?, default, #initialize, instructions, new, #process, #read, require_libs
Class Method Details
.compiler_class ⇒ Object
10
11
12
|
# File 'lib/shift/c/uglify_js.rb', line 10
def self.compiler_class
Uglifier
end
|
.gem_dependencies ⇒ Object
6
7
8
|
# File 'lib/shift/c/uglify_js.rb', line 6
def self.gem_dependencies
%w{uglifier}
end
|
Instance Method Details
#process_plain(str) ⇒ Object
14
15
16
|
# File 'lib/shift/c/uglify_js.rb', line 14
def process_plain(str)
@engine.compile(str)
end
|