9 lines
74 B
Ruby
9 lines
74 B
Ruby
module Math
|
|
|
|
# Square of number.
|
|
def self.sqr(x)
|
|
x * x
|
|
end
|
|
|
|
end
|