Class: HilferModel

Inherits:
Gtk::TreeStore
  • Object
show all
Defined in:
lib/hilfer/hilfer_model.rb

Overview

yes, this actually does catch method calls polymorphically but you can’t change the TreePath or TreeIter that are returned

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ HilferModel

Returns a new instance of HilferModel.



4
5
6
# File 'lib/hilfer/hilfer_model.rb', line 4

def initialize( *args )
  super
end

Instance Method Details

#ancestor?(iter, descendant) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
11
# File 'lib/hilfer/hilfer_model.rb', line 8

def ancestor?( iter, descendant )
  print "testing #{iter[0]} against #{descendant}\n" if $options[:debug]
  super
end