Sha256: 76b98f7d247999ca3b251bbfa7bfe0e4ac640cab5dda816c9f810abf25a48b2a

Contents?: true

Size: 212 Bytes

Versions: 4

Compression:

Stored size: 212 Bytes

Contents

class Jcompiler
  cattr_accessor :default_format
  self.default_format = Mime::JSON

  def self.call(template)
    "{\"a\"=>\"b\"}"
  end
end

ActionView::Template.register_template_handler :jcompiler, Jcompiler

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jcompiler-0.1.7 lib/jcompiler.rb
jcompiler-0.1.6 lib/jcompiler.rb
jcompiler-0.1.5 lib/jcompiler.rb
jcompiler-0.1.1 lib/jcompiler.rb