Class: TestML::Library::Debug

Inherits:
TestML::Library show all
Defined in:
lib/testml/library/debug.rb

Overview

TODO Either require or duplicate wxyz.rb here

Instance Method Summary collapse

Methods inherited from TestML::Library

#runtime

Instance Method Details

#XXX(*args) ⇒ Object



5
6
7
8
9
10
# File 'lib/testml/library/debug.rb', line 5

def XXX(*args)
  require 'yaml'
  args.each {|node| puts YAML.dump(node)}
  puts 'XXX from: ' + caller.first
  exit
end

#YYY(*args) ⇒ Object



12
13
14
15
16
17
# File 'lib/testml/library/debug.rb', line 12

def YYY(*args)
  require 'yaml'
  args.each {|node| puts YAML.dump(node)}
  puts 'YYY from: ' + caller.first
  return *args
end