use private methods

master
muflax 2013-07-28 17:16:14 +02:00
parent e6c7f81d9a
commit f9f8c9a1a4
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ class Range
end
end
private
def pair_or_num operator, other
if other.is_a? Range
calc_pairs operator, other