Class Numeric
In: lib/charlie/etc/monkey.rb
Parent: Object

I should probably replace some of this with a dependency on facets(?) or some other library. update: Ruby 1.9 has many of these anyway

Methods

between  

Public Instance methods

[Source]

   # File lib/charlie/etc/monkey.rb, line 5
5:   def between(minval,maxval)
6:     [[self,minval].max,maxval].min
7:   end

[Validate]