Sha256: dc79823eb019946eaa3469c65f3ce03e9d34b433395943d31d4a823e9895fa5f

Contents?: true

Size: 238 Bytes

Versions: 2

Compression:

Stored size: 238 Bytes

Contents

module Gara
  module Template
    class Handler
      def self.call(template)
        new.call(template)
      end

      def call(template)
        %Q(Gara::Delegator.new(self) { #{template.source} }.to_html)
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gara-0.1.2 lib/gara/template/handler.rb
gara-0.1.1 lib/gara/template/handler.rb