method

nonzero?

ruby latest stable - Class: BigDecimal
nonzero?()
public

Returns self if the value is non-zero, nil otherwise.