Module: Kernel

Defined in:
lib/soap/soap.rb,
lib/soap/soap.rb

Instance Method Summary collapse

Instance Method Details

#require_relative(path) ⇒ Object


159
160
161
# File 'lib/soap/soap.rb', line 159

def require_relative(path)
  require File.join(File.dirname(caller[0]), path.to_str)
end

#warn(msg) ⇒ Object


149
150
151
# File 'lib/soap/soap.rb', line 149

def warn(msg)
  STDERR.puts(msg + "\n") unless $VERBOSE.nil?
end