Class: GLib::TypeInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/glib2/type-info.rb

Instance Method Summary collapse

Instance Method Details

#description ⇒ Object



27
28
29
# File 'lib/glib2/type-info.rb', line 27

def description
  tag.description(self)
end

#inspect ⇒ Object



31
32
33
34
35
# File 'lib/glib2/type-info.rb', line 31

def inspect
  super.gsub(/>\z/) do
    " tag=#{tag.inspect}>"
  end
end

#match?(value) ⇒ Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/glib2/type-info.rb', line 23

def match?(value)
  tag.match?(self, value)
end

#try_convert(value) ⇒ Object



19
20
21
# File 'lib/glib2/type-info.rb', line 19

def try_convert(value)
  tag.try_convert(self, value)
end