class GirFFI::FieldArgumentInfo

Class to represent argument info for the argument of a setter method. Implements the necessary parts of IArgInfo’s interface. TODO: Rename and add direction argument or subclass

Attributes

argument_type[R]
name[R]

Public Class Methods

new(name, type) click to toggle source
# File lib/gir_ffi/field_argument_info.rb, line 10
def initialize(name, type)
  @name = name
  @argument_type = type
end

Public Instance Methods

direction() click to toggle source
# File lib/gir_ffi/field_argument_info.rb, line 15
def direction
  :in
end
ownership_transfer() click to toggle source
# File lib/gir_ffi/field_argument_info.rb, line 19
def ownership_transfer
  :everything
end
skip?() click to toggle source
# File lib/gir_ffi/field_argument_info.rb, line 23
def skip?
  false
end