Method: RDoc::ERBIO#set_eoutvar

Defined in:
lib/rdoc/erbio.rb

#set_eoutvar(compiler, io_variable) ⇒ Object

Instructs compiler how to write to io_variable



29
30
31
32
33
34
# File 'lib/rdoc/erbio.rb', line 29

def set_eoutvar compiler, io_variable
  compiler.put_cmd    = "#{io_variable}.write"
  compiler.insert_cmd = "#{io_variable}.write"
  compiler.pre_cmd    = []
  compiler.post_cmd   = []
end