# File lib/ffi/library.rb, line 87 def self.extended(mod) raise RuntimeError.new("must only be extended by module") unless mod.kind_of?(Module) end