# File lib/facet/comparable/bound_by.rb, line 14 def bound_by(lower, upper) return lower if self < lower return upper if self > upper return self end