Method: Shine::JS.string
- Defined in:
- lib/shine.rb
.string(js, options = {}) ⇒ Object
108 109 110 111 112 113 114 |
# File 'lib/shine.rb', line 108 def self.string(js, ={}) begin Shine.compress_string(js, :js, ) rescue CompressionError js end end |