Sha256: eb872dbf88fa36e79ca99c311322fb9b3ba115fe22f7e4901b866f42bfbe673b

Contents?: true

Size: 250 Bytes

Versions: 3

Compression:

Stored size: 250 Bytes

Contents

require 'erb'

class Template
  def initialize(args = {})
    @automation = args[:automation]
    @name = args[:name]
    @framework = args[:framework]
  end

  def parsed_body
    parsed_body = ERB.new body
    parsed_body.result(binding)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_raider-0.1.9 lib/generators/templates/template.rb
ruby_raider-0.1.8 lib/generators/templates/template.rb
ruby_raider-0.1.7 lib/generators/templates/template.rb