= private = protected
getwd()
Returns the current working directory as a Pathname.
Pathname.getwd #=> #<Pathname:/home/zzak/projects/ruby>
See Dir.getwd.
static VALUE path_s_getwd(VALUE klass) { VALUE str; str = rb_funcall(rb_cDir, rb_intern("getwd"), 0); return rb_class_new_instance(1, &str, klass); }