Method: Rundoc::CodeCommand::FileCommand::Remove#to_md

Defined in:
lib/rundoc/code_command/file_command/remove.rb

#to_md(env) ⇒ Object



9
10
11
12
13
14
# File 'lib/rundoc/code_command/file_command/remove.rb', line 9

def to_md(env)
  raise "must call write in its own code section" unless env[:commands].empty?
  env[:before] << "In file `#{filename}` remove:"
  env[:before] << NEWLINE
  nil
end