Method: Vips::Object#get_typeof_error

Defined in:
lib/vips/object.rb

#get_typeof_error(name) ⇒ Object

return a gtype, raise an error on not found

Raises:



130
131
132
133
134
135
# File 'lib/vips/object.rb', line 130

def get_typeof_error name
  pspec = get_pspec name
  raise Vips::Error unless pspec

  pspec[:value][:value_type]
end