# File lib/shoulda/active_record/macros.rb, line 236
236:       def should_ensure_value_in_range(attribute, range, opts = {})
237:         ::ActiveSupport::Deprecation.warn("use: should ensure_inclusion_of.in_range")
238:         message, low_message, high_message = get_options!([opts],
239:                                                           :message,
240:                                                           :low_message,
241:                                                           :high_message)
242:         should ensure_inclusion_of(attribute).
243:           in_range(range).
244:           with_message(message).
245:           with_low_message(low_message).
246:           with_high_message(high_message)
247:       end