End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Fiddle::Function#to_proc
to_proc
ext/fiddle/lib/fiddle/function.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/ext/fiddle/lib/fiddle/function.rb, line 24
def to_proc
this = self
lambda { |*args| this.call(*args) }
end
Turn this function in to a proc