Use Range#cover? instead of Range#include?

Because this library targets on Ruby1.9.3+.
And the checker does not depend on element#succ.
Use 1.9+ Hash syntax

Because this library targets on Ruby1.9.3+