This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Fiddle::CStructEntity.[] (from ruby core) ### Implementation from CStructEntity --- [](*args) --- #### (Uses superclass method RDoc::AnyMethod: Fiddle::Pointer::[]) --- Fetch struct member `name` if only one argument is specified. If two arguments are specified, the first is an offset and the second is a length and this method returns the string of `length` bytes beginning at `offset`. Examples: my_struct = struct(['int id']).malloc my_struct.id = 1 my_struct['id'] # => 1 my_struct[0, 4] # => "\x01\x00\x00\x00".b
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.