Sha256: 56825037353e8d827d9d9727061ca02a491fc6b5ff735d9285bc0ed59fe8fda7

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

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

      def call(template)
        # returns a string to be eval'd
        ExpressTemplates::Expander.expand(template, template.source)
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
express_templates-0.2.0 lib/express_templates/template/handler.rb