Module: Serenity::Debug
- Included in:
- OdtEruby
- Defined in:
- lib/serenity/serenity/debug.rb
Instance Method Summary collapse
Instance Method Details
#debug? ⇒ Boolean
3 4 5 |
# File 'lib/serenity/serenity/debug.rb', line 3 def debug? false end |
#debug_dir ⇒ Object
15 16 17 |
# File 'lib/serenity/serenity/debug.rb', line 15 def debug_dir File.join(File.dirname(__FILE__), '..', '..', 'debug') end |
#debug_file_name ⇒ Object
11 12 13 |
# File 'lib/serenity/serenity/debug.rb', line 11 def debug_file_name "serenity_debug_#{rand(100)}.rb" end |
#debug_file_path ⇒ Object
7 8 9 |
# File 'lib/serenity/serenity/debug.rb', line 7 def debug_file_path File.join(debug_dir, debug_file_name) end |