9 lines
79 B
Ruby
9 lines
79 B
Ruby
module Math
|
|
|
|
# Absolute value of +x+.
|
|
def self.abs(x)
|
|
x.abs
|
|
end
|
|
|
|
end
|