Method: Rundoc::FencedCodeBlock#executed_commands

Defined in:
lib/rundoc/fenced_code_block.rb

#executed_commandsObject

Used for tests to inspect the command that was executed



15
16
17
18
19
# File 'lib/rundoc/fenced_code_block.rb', line 15

def executed_commands
  raise "Nothing executed" unless @env[:commands].any?

  @env[:commands].map { |c| c[:object] }
end