/usr/lib/ruby/vendor_ruby/gir_ffi/field_argument_info.rb is in ruby-gir-ffi 0.9.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | module GirFFI
# Class to represent argument info for the argument of a setter method.
# Implements the necessary parts of IArgumentInfo's interface.
# TODO: Rename and add direction argument or subclass
class FieldArgumentInfo
attr_reader :name, :argument_type
def initialize(name, type)
@name = name
@argument_type = type
end
def direction
:in
end
def ownership_transfer
:everything
end
def skip?
false
end
end
end
|