Module: OnlyofficeTestrailWrapper::RubyHelper

Included in:
TestrailHelper
Defined in:
lib/onlyoffice_testrail_wrapper/helpers/ruby_helper.rb

Overview

Methods to work with ruby

Instance Method Summary collapse

Instance Method Details

#debug?Boolean

Check if current process run in debug mode

Returns:

  • (Boolean)

    true if in debug mode, false otherwise



8
9
10
# File 'lib/onlyoffice_testrail_wrapper/helpers/ruby_helper.rb', line 8

def debug?
  ENV['RUBYLIB'].to_s.include?('ruby-debug')
end