We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc0246d commit 4721271Copy full SHA for 4721271
lib/vips/gvalue.rb
@@ -40,7 +40,13 @@ def self.enum_from_nick(gtype, value)
40
value
41
end
42
43
- # convert an flags value (array[str/symb/int] | str/symb/int) into an
+ # compatibility ... we used to call it this, perhaps someone has used this
44
+ # internal method
45
+ def self.from_nick(gtype, value)
46
+ GValue.enum_from_nick(gtype, value)
47
+ end
48
+
49
+ # convert an flags value (array[str/symb/int] | str/symb/int) into an
50
# int ready for libvips
51
def self.flags_from_nick(gtype, value)
52
if value.is_a? String
0 commit comments