Where can I find full documentation

Good morning everyone,

Can you please advise, I am looking for a good reference to all ruby
standart lib. As I can`t see what I need on rdoc.info or
http://www.ruby-doc.org/core/

For example, I want to see everithing about standart lib rbconfig, what
keys are in RbConfig::CONFIG, what other modules instead of CONFIG are
present in RbConfig, what methods and etc

On Tue, Apr 12, 2011 at 8:19 AM, Vitaliy Y. [email protected]
wrote:

Good morning everyone,

Mahlzeit!

Can you please advise, I am looking for a good reference to all ruby
standart lib. As I can`t see what I need on rdoc.info or
http://www.ruby-doc.org/core/

For example, I want to see everithing about standart lib rbconfig, what
keys are in RbConfig::CONFIG, what other modules instead of CONFIG are
present in RbConfig, what methods and etc

First choice would be

$ ri RbConfig

You can also use IRB and do

$ irb19
irb(main):001:0> RbConfig.constants.sort
=> [:CONFIG, :DESTDIR, :MAKEFILE_CONFIG, :TOPDIR]
irb(main):002:0> RbConfig::CONFIG.keys.sort
=> [“ALLOCA”, “AR”, “ARCHFILE”, “ARCH_FLAG”, “AS”, “ASFLAGS”,
“BASERUBY”, “BUILTIN_TRANSSRCS”, “CAPITARGET”, “CC”, “CCDLFLAGS”,
“CFLAGS”, “CHDIR”, “COMMON_HEADERS”, “COMMON_LIBS”, “COMMON_MACROS”,
“COUTFLAG”, “CP”, “CPP”, “CPPFLAGS”, “CPPOUTFILE”, “CXX”, “CXXFLAGS”,
“DEFS”, “DESTDIR”, “DLDFLAGS”, “DLDLIBS”, “DLEXT”, “DLEXT2”,
“DLLWRAP”, “DOT”, “DOXYGEN”, “ECHO_C”, “ECHO_N”, “ECHO_T”, “EGREP”,
“ENABLE_SHARED”, “EXECUTABLE_EXTS”, “EXEEXT”, “EXPORT_PREFIX”,
“EXTOUT”, “EXTSTATIC”, “GCC”, “GNU_LD”, “GREP”, “INSTALL”,
“INSTALLDOC”, “INSTALL_DATA”, “INSTALL_PROGRAM”, “INSTALL_SCRIPT”,
“LDFLAGS”, “LDSHARED”, “LDSHAREDXX”, “LIBEXT”, “LIBPATHENV”,
“LIBPATHFLAG”, “LIBRUBY”, “LIBRUBYARG”, “LIBRUBYARG_SHARED”,
“LIBRUBYARG_STATIC”, “LIBRUBY_A”, “LIBRUBY_ALIASES”,
“LIBRUBY_DLDFLAGS”, “LIBRUBY_LDSHARED”, “LIBRUBY_SO”, “LIBS”,
“LINK_SO”, “LN_S”, “MAINLIBS”, “MAJOR”, “MAKEDIRS”, “MAKEFILES”,
“MANTYPE”, “MINOR”, “MKDIR_P”, “NM”, “NROFF”, “OBJCOPY”, “OBJDUMP”,
“OBJEXT”, “OUTFLAG”, “PACKAGE”, “PACKAGE_BUGREPORT”, “PACKAGE_NAME”,
“PACKAGE_STRING”, “PACKAGE_TARNAME”, “PACKAGE_URL”, “PACKAGE_VERSION”,
“PATCHLEVEL”, “PATH_SEPARATOR”, “PREP”, “RANLIB”, “RDOCTARGET”,
“RI_BASE_NAME”, “RM”, “RMALL”, “RMDIRS”, “RPATHFLAG”,
“RUBYW_BASE_NAME”, “RUBYW_INSTALL_NAME”, “RUBY_BASE_NAME”,
“RUBY_INSTALL_NAME”, “RUBY_PROGRAM_VERSION”, “RUBY_RELEASE_DATE”,
“RUBY_SO_NAME”, “SET_MAKE”, “SHELL”, “SOLIBS”, “STATIC”, “STRIP”,
“TEENY”, “TEST_RUNNABLE”, “THREAD_MODEL”, “TRY_LINK”,
“UNIVERSAL_ARCHNAMES”, “UNIVERSAL_INTS”, “WINDRES”, “arch”, “archdir”,
“bindir”, “build”, “build_alias”, “build_cpu”, “build_os”,
“build_vendor”, “cflags”, “configure_args”, “cppflags”, “cxxflags”,
“datadir”, “datarootdir”, “debugflags”, “docdir”, “dvidir”,
“exec_prefix”, “host”, “host_alias”, “host_cpu”, “host_os”,
“host_vendor”, “htmldir”, “includedir”, “infodir”, “libdir”,
“libexecdir”, “localedir”, “localstatedir”, “mandir”, “oldincludedir”,
“optflags”, “pdfdir”, “prefix”, “program_transform_name”, “psdir”,
“ridir”, “ruby_install_name”, “ruby_version”, “rubyhdrdir”,
“rubylibdir”, “rubylibprefix”, “rubyw_install_name”, “sbindir”,
“setup”, “sharedstatedir”, “sitearch”, “sitearchdir”, “sitedir”,
“sitehdrdir”, “sitelibdir”, “sysconfdir”, “target”, “target_alias”,
“target_cpu”, “target_os”, “target_vendor”, “topdir”, “try_header”,
“vendorarchdir”, “vendordir”, “vendorhdrdir”, “vendorlibdir”,
“warnflags”]

Kind regards

robert

On Tue, Apr 12, 2011 at 3:19 AM, Vitaliy Y. [email protected]
wrote:


Posted via http://www.ruby-forum.com/.

You’re simply looking at the wrong place - the “core” Ruby classes are
considered separate from the standard library, even though you get
both when you install Ruby.

http://rdoc.info/stdlib contains the standard library documentation -
everything you see on that list is part of it, with the different
versions referring to Ruby versions. “core” is the core classes.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs