This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Logger.info (from ruby core) --- info(message) info(progname, &block) --- Log an `INFO` message. `message` : The message to log; does not need to be a String. `progname` : In the block form, this is the #progname to use in the log message. The default can be set with #progname=. `block` : Evaluates to the message to log. This is not evaluated unless the logger's level is sufficient to log the message. This allows you to create potentially expensive logging messages that are only called when the logger is configured to show them. ### Examples logger.info("MainApp") { "Received connection from #{ip}" } # ... logger.info "Waiting for input from user" # ... logger.info { "User typed #{input}" } You'll probably stick to the second form above, unless you want to provide a program name (which you can do with #progname= as well). ### Return See #add.
This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.