Method: Rundoc::CodeCommand::PreErb#initialize

Defined in:
lib/rundoc/code_command/pre/erb.rb

#initialize(line) ⇒ PreErb

Returns a new instance of PreErb.



5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/rundoc/code_command/pre/erb.rb', line 5

def initialize(line)
  @line = line
  @binding = RUNDOC_ERB_BINDINGS[RUNDOC_DEFAULT_ERB_BINDING]
  @code = nil
  @command = nil
  @template = nil
  @render_delegate_result = nil
  @render_delegate_command = nil
  # Hide self, pass visibility onto delegate
  @render_result = false
  @render_command = false
end