This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# MatchData.match (from ruby core) --- mtch.match(n) -> string or nil --- Returns the captured substring corresponding to the argument. *n* can be a string or symbol to reference a named capture. m = /(.)(.)(\d+)(\d)(\w)?/.match("THX1138.") m.match(0) #=> "HX1138" m.match(4) #=> "8" m.match(5) #=> nil m = /(?<foo>.)(.)(?<bar>.+)/.match("hoge") m.match(:foo) #=> "h" m.match(:bar) #=> "ge"
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.