Sha256: 7cb9e4983c837c9b0bcf51f239244fab0dd0148d7a608e8af9198740495f8464

Contents?: true

Size: 185 Bytes

Versions: 14

Compression:

Stored size: 185 Bytes

Contents

class JavascriptCode < String
  def to_json(*options)
    self
  end
end

module Kernel
  # A convenience factory method
  def JavascriptCode(str)
    JavascriptCode.new(str)
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
distil-0.14.5.a lib/distil/javascript-code.rb
distil-0.14.4 lib/distil/javascript-code.rb
distil-0.14.3 lib/distil/javascript-code.rb
distil-0.14.2 lib/distil/javascript-code.rb
distil-0.14.2.a lib/distil/javascript-code.rb
distil-0.14.1 lib/distil/javascript-code.rb
distil-0.14.1.a lib/distil/javascript-code.rb
distil-0.14.0 lib/distil/javascript-code.rb
distil-0.14.0.i lib/distil/javascript-code.rb
distil-0.14.0.h lib/distil/javascript-code.rb
distil-0.14.0.g lib/distil/javascript-code.rb
distil-0.14.0.d lib/distil/javascript-code.rb
distil-0.14.0.c lib/distil/javascript-code.rb
distil-0.14.0.b lib/distil/javascript-code.rb