# File lib/phusion_passenger/console_text_template.rb, line 30 def initialize(input, options = {}) @buffer = '' if input[:file] data = File.read("#{PhusionPassenger.resources_dir}/templates/#{input[:file]}.txt.erb") else data = input[:text] end @template = ERB.new(Utils::AnsiColors.ansi_colorize(data), nil, '-', '@buffer') options.each_pair do |name, value| self[name] = value end end
Generated with the Darkfish Rdoc Generator 2.