Method: OSGi::Bundle#<=>

Defined in:
lib/buildr4osgi/osgi/bundle.rb

#<=>(other) ⇒ Object

:nodoc:



210
211
212
213
214
215
216
# File 'lib/buildr4osgi/osgi/bundle.rb', line 210

def <=>(other) #:nodoc:
  if other.is_a?(Bundle)
   return to_s <=> other.to_s
  else
    return to_s <=> other
  end
end