Module: Opal::Util
Constant Summary collapse
- ExitStatusError =
Class.new(StandardError)
Instance Method Summary collapse
-
#gzip(source) ⇒ Object
Gzip code to check file size.
-
#uglify(source) ⇒ String
Used for uglifying source to minify.
Instance Method Details
#gzip(source) ⇒ Object
Gzip code to check file size.
22 23 24 |
# File 'opal/lib/opal/util.rb', line 22 def gzip(source) sh 'gzip -f', data: source end |