Flowdock
cover?(p1) public

Returns true if obj is between beg and end, i.e beg <= obj <= end (or end exclusive when exclude_end? is true).

("a".."z").cover?("c")    #=> true
("a".."z").cover?("5")    #=> false
Show source
Register or log in to add new notes.