Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more
Fiddle::Closure
# File fiddle/lib/fiddle/closure.rb, line 7 def initialize ctype, args, abi = Fiddle::Function::DEFAULT, &block super(ctype, args, abi) @block = block end
# File fiddle/lib/fiddle/closure.rb, line 12 def call *args @block.call(*args) end
This page was generated for Ruby 1.9.2
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.44.0.