diff --git a/lib/tomlrb/scanner.rb b/lib/tomlrb/scanner.rb
index <HASH>..<HASH> 100644
--- a/lib/tomlrb/scanner.rb
+++ b/lib/tomlrb/scanner.rb
@@ -29,7 +29,7 @@ module Tomlrb
       @eos = false
     end
 
-    def next_token
+    def next_token # rubocop:disable Metrics/MethodLength
       case
       when @ss.eos? then process_eos
       when @ss.scan(SPACE) then next_token
Allow many lines to Scanner#next_token