module FFI::Library

def self.extended(mod)

Raises:
  • (RuntimeError) - if +mod+ is not a Module

Returns:
  • (nil) -

Parameters:
  • mod () -- extended object
def self.extended(mod)
  raise RuntimeError.new("must only be extended by module") unless mod.kind_of?(Module)
end