Sha256: a1bf5768811d05fdcc44f342447c86544d6fb292f1accfb5259de7f9b18214e4
Contents?: true
Size: 279 Bytes
Versions: 1
Compression:
Stored size: 279 Bytes
Contents
class Jcompiler def self.code '{"a":"b"}' end end class JcompilerHandler cattr_accessor :default_format self.default_format = Mime::JSON def self.call(template) %{Jcompiler.code} end end ActionView::Template.register_template_handler :jcompiler, Jcompiler
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jcompiler-0.1.10 | lib/jcompiler.rb |