Class: Rundoc::CodeCommand::RundocCommand::DependOn

Inherits:
Rundoc::CodeCommand show all
Defined in:
lib/rundoc/code_command/rundoc/depend_on.rb

Constant Summary

Constants inherited from Rundoc::CodeCommand

NEWLINE

Instance Attribute Summary

Attributes inherited from Rundoc::CodeCommand

#command, #contents, #keyword, #original_args, #render_command, #render_result

Instance Method Summary collapse

Methods inherited from Rundoc::CodeCommand

#call, #hidden?, #not_hidden?, #push, #to_md

Constructor Details

#initialize(path) ⇒ DependOn

Pass in the relative path of another rundoc document in order to run all of it’s commands (but not to )



6
7
8
# File 'lib/rundoc/code_command/rundoc/depend_on.rb', line 6

def initialize(path)
  raise "rundoc.depend_on has been removed, use `:::-- rundoc.require` instead"
end