1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/lib
sbonami da3282f493 Fix Request#accept? NoMethodError
Allow Request#accept? to return false when type parameter does not
match any of the preferred types. When `preferred_type(type)` returns
nil, `include?` will throw a NoMethodError. By converting output to a
string, `include?` will return false.
2013-10-25 20:46:40 -04:00
..
sinatra Fix Request#accept? NoMethodError 2013-10-25 20:46:40 -04:00
sinatra.rb do not modify load path 2012-01-03 18:00:18 +01:00