public Method

Integer.<=>(n)

There's no documentation for this item.

Source Code

# File qt/qtruby4.rb, line 1921
def <=>(n)
        if @value < n.to_i
                return -1
        elsif @value > n.to_i
                return 1
        else
                return 0
        end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.