This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

on

        # OptionParser.on

(from ruby core)
---
    on(*params, &block)

---

Creates an option from the given parameters `params`. See [Parameters
for New Options](./option_params.rdoc).

The block, if given, is the handler for the created option. When the
option is encountered during command-line parsing, the block is called
with the argument given for the option, if any. See [Option
Handlers](./option_params.rdoc#label-Option+Handlers).



      

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.