Method: Vips::Object#get_typeof
- Defined in:
- lib/vips/object.rb
#get_typeof(name) ⇒ Object
return a gtype, 0 on not found
138 139 140 141 142 143 144 145 146 |
# File 'lib/vips/object.rb', line 138 def get_typeof name pspec = get_pspec name unless pspec Vips::vips_error_clear return 0 end pspec[:value][:value_type] end |