File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,9 @@ def initialize(image)
53
53
# it's the thing we return at the end of the mutate block.
54
54
copy_image = image . copy
55
55
56
- # use ptr since we need the raw unwrapped pointer inside the image ...
57
- # and make the ref that gobject will unref when it finishes
56
+ # Use ptr since we need the raw unwrapped pointer inside the image ...
57
+ # and make the ref that gobject will unref when it finishes.
58
+ # See also the comment on set_type! before changing this.
58
59
pointer = copy_image . ptr
59
60
::GObject . g_object_ref pointer
60
61
super pointer
@@ -79,7 +80,7 @@ def respond_to? name, include_all = false
79
80
end
80
81
81
82
def respond_to_missing? name , include_all = false
82
- # respond to all vips operations by nickname
83
+ # Respond to all vips operations by nickname.
83
84
return true if Vips . type_find ( "VipsOperation" , name . to_s ) != 0
84
85
85
86
super
@@ -162,7 +163,7 @@ def set! name, value
162
163
#
163
164
# @param name [String] Metadata field to remove
164
165
def remove! name
165
- # see set_type! for an explanation
166
+ # See set_type! for an explanation.
166
167
begin
167
168
::GObject . g_object_unref self . ptr
168
169
Vips . vips_image_remove self , name
You can’t perform that action at this time.
0 commit comments