Class: Spoon::FileActions::Releaser

Inherits:
Object
  • Object
show all
Defined in:
lib/spoon/unix.rb

Class Method Summary collapse

Class Method Details

.call(ptr) ⇒ Object



29
30
31
32
# File 'lib/spoon/unix.rb', line 29

def self.call(ptr)
  LibC.posix_spawn_file_actions_destroy(ptr)
  LibC.free(ptr)
end