class GirFFI::VFuncImplementation
Simple wrapper class to represent the implementation of a VFunc.
Attributes
Public Class Methods
Source
# File lib/gir_ffi/vfunc_implementation.rb, line 8 def initialize(name, implementation) implementation ||= ->(obj, *args) { obj.public_send name, *args } @name = name @implementation = implementation end