Class: Gtk::TreePath

Inherits:
Object
  • Object
show all
Includes:
Comparable
Defined in:
lib/gtk3/tree-path.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object


21
22
23
24
25
26
27
# File 'lib/gtk3/tree-path.rb', line 21

def <=>(other)
  if other.is_a?(self.class)
    compare(other)
  else
    nil
  end
end