--- !ruby/object:RI::MethodDescription 
aliases: 
- !ruby/object:RI::AliasName 
  name: cap
block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns the greater of self or x.
- !ruby/struct:SM::Flow::VERB 
  body: "  4.at_most(5)  #=&gt; 4\n  6.at_most(5)  #=&gt; 5\n"
- !ruby/struct:SM::Flow::P 
  body: "CREDIT: Florian Gross"
full_name: Comparable#at_most
is_singleton: false
name: at_most
params: (upper)
visibility: public
