use private methods
parent
e6c7f81d9a
commit
f9f8c9a1a4
|
@ -50,6 +50,8 @@ class Range
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
def pair_or_num operator, other
|
def pair_or_num operator, other
|
||||||
if other.is_a? Range
|
if other.is_a? Range
|
||||||
calc_pairs operator, other
|
calc_pairs operator, other
|
||||||
|
|
Loading…
Reference in New Issue