Sha256: 240eba825a9aa857b7a8d2adb1cd96cc21b20894c5b45ac467bcc67cdbf5ff64

Contents?: true

Size: 245 Bytes

Versions: 1

Compression:

Stored size: 245 Bytes

Contents

# frozen_string_literal: true

module Jb
  class Handler
    class_attribute :default_format
    self.default_format = :json

    def self.call(template)
      template.source
    end

    def self.handles_encoding?
      true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jb-0.6.0 lib/jb/handler.rb