Module: Kernel
- Defined in:
- lib/soap/soap.rb,
lib/soap/soap.rb
Instance Method Summary collapse
Instance Method Details
#require_relative(path) ⇒ Object
170 171 172 |
# File 'lib/soap/soap.rb', line 170 def require_relative(path) require File.join(File.dirname(caller[0]), path.to_str) end |
#warn(msg) ⇒ Object
160 161 162 |
# File 'lib/soap/soap.rb', line 160 def warn(msg) STDERR.puts(msg + "\n") unless $VERBOSE.nil? end |