mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
2526938b32
``` payments = [Payment.new(5), Payment.new(15), Payment.new(10)] payments.minimum(:price) # => 5 payments.maximum(:price) # => 20 ``` |
||
---|---|---|
.. | ||
abstract | ||
assertions | ||
controller | ||
dispatch | ||
fixtures | ||
journey | ||
lib | ||
routing | ||
support | ||
abstract_unit.rb |