diasks2 / pragmatic_tokenizer

A multilingual tokenizer to split a string into tokens
MIT License
90 stars 11 forks source link

fix deprecated warning for Ruby 2.4 #36

Closed mmacia closed 7 years ago

mmacia commented 7 years ago

In Ruby 2.4 Fixnum class is deprecated in favor of Integer class. This MR checks current ruby version and uses the correct class.

maia commented 7 years ago

@diasks2 I suggest a version bump for adding these ruby 2.4 compatibilities, thanks!

mmacia commented 7 years ago

,👍

diasks2 commented 7 years ago

Done. Thanks!