module Vue::Helpers::ErbPrepend

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/vue/helpers/utilities.rb, line 52
def initialize(*args)
  #puts "ERB.new: #{args.to_yaml}"
  #puts "ERB.new with eoutvar: #{args[3]}"
  args[3] ||= Vue::Helpers.default_outvar
  super
end

Public Instance Methods

set_eoutvar(*args) click to toggle source
Calls superclass method
# File lib/vue/helpers/utilities.rb, line 59
def set_eoutvar(*args)
  #puts "ERB.set_eoutvar: #{args[1]}"
  Thread.current.instance_variable_set(:@current_eoutvar, args[1])
  super
end