lib/qlang/lexer/base.rb in qlang-0.0.1414 vs lib/qlang/lexer/base.rb in qlang-0.0.14142

- old
+ new

@@ -94,12 +94,14 @@ end hash end end - private def to_num(token_with_num) - token_with_num =~ /\d+/ - $&.to_i - end + private + + def to_num(token_with_num) + token_with_num =~ /\d+/ + $&.to_i + end end end end