APIdock
/
Ruby
/
Browse
About
method
im
v1_8_6_287
-
Show latest stable
- Class:
Numeric
im
()
public
Returns a
Complex
number
(0,self)
.
Show source
# File lib/complex.rb, line 38 def im Complex(0, self) end
Related methods
Instance methods
+@
-@
<=>
abs
angle
arg
ceil
coerce
conj
conjugate
div
divmod
eql?
floor
im
imag
image
initialize_copy
integer?
modulo
nonzero?
polar
quo
real
remainder
round
singleton_method_added
step
to_int
truncate
zero?