module GObjectIntrospection::TypeTag::ARRAY

Public Class Methods

try_convert(type_info, value) click to toggle source
# File lib/gobject-introspection/type-tag.rb, line 141
def try_convert(type_info, value)
  case get_element_type_info(type_info).tag
  when INT8, UINT8
    case value
    when String
      return value
    when GLib::Bytes
      return value.to_s
    end
  end
  super
end