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

Fiddle::Closure

        # Fiddle::Closure < Object

(from ruby core)
---
## Description

An FFI closure wrapper, for handling callbacks.

## Example

    closure = Class.new(Fiddle::Closure) {
      def call
        10
      end
    }.new(Fiddle::TYPE_INT, [])
       #=> #<#<Class:0x0000000150d308>:0x0000000150d240>
    func = Fiddle::Function.new(closure, [], Fiddle::TYPE_INT)
       #=> #<Fiddle::Function:0x00000001516e58>
    func.call
       #=> 10

---
# Class methods:

    new

# Instance methods:

    args
    ctype
    to_i

# Attributes:

    attr_reader args
    attr_reader ctype


      

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.