Sha256: 20531722f2fde3ba11178c702ee72dc22ba4799bd0fb43661a80a833a55f36ae

Contents?: true

Size: 292 Bytes

Versions: 12

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

class Template
  class Parser
    def initialize(input)
      @input = input
    end

    def self.parse(input)
      new(input).parse
    end

    def parse
      ::Template::Parser::Template.parse(input)
    end

    private

    attr_reader :input
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
template-ruby-1.1.2 lib/template/parser.rb
template-ruby-1.1.0 lib/template/parser.rb
template-ruby-1.0.0 lib/template/parser.rb
template-ruby-0.7.3 lib/template/parser.rb
template-ruby-0.7.2 lib/template/parser.rb
template-ruby-0.7.0 lib/template/parser.rb
template-ruby-0.6.9 lib/template/parser.rb
template-ruby-0.6.8 lib/template/parser.rb
template-ruby-0.6.7 lib/template/parser.rb
template-ruby-0.6.6 lib/template/parser.rb
template-ruby-0.6.5 lib/template/parser.rb
template-ruby-0.6.4 lib/template/parser.rb