Sha256: f28d33fe42935ebff205a2f93acdadd08c7a2e94ad2c736b2381407a283f037f
Contents?: true
Size: 456 Bytes
Versions: 5
Compression:
Stored size: 456 Bytes
Contents
require File.dirname(__FILE__) + "/glimmer" class Array include Glimmer alias original_compare <=> def <=>(other) if (self[0].class.name == "RWidget") add_contents(self[0]) { if (other.size == 2) eval("#{self[1]} bind (other[0], other[1])") elsif (other.size == 3) eval("#{self[1]} bind (other[0], other[1], other[2])") end } else original_compare(other) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
glimmer-0.1.5.470 | lib/shine.rb |
glimmer-0.1.4.470 | lib/shine.rb |
glimmer-0.1.4.swt.pre.4.7.0 | lib/shine.rb |
glimmer-0.1.3 | lib/shine.rb |
glimmer-0.1.2 | lib/shine.rb |