Method: Docdown::CodeCommand#render

Defined in:
lib/docdown/code_command.rb

#renderObject

returns the markedup command do not over-write unless you call super



14
15
16
17
18
19
# File 'lib/docdown/code_command.rb', line 14

def render
  result = self.call
  return [to_md, result].join("\n")  if render_result?
  return "" if hidden?
  to_md
end