Skip to content

Commit 6509ec5

Browse files
committed
add monkey patch
1 parent 4c1601a commit 6509ec5

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

lib/problematic_variable_finder.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
require "problematic_variable_finder/runner"
77
require "problematic_variable_finder/main_finder"
8+
require "problematic_variable_finder/monkey_patches"
89

910
module ProblematicVariableFinder
1011
class << self
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
class Parser::Builders::Default
2+
# More details here https://github.com/whitequark/parser/issues/283
3+
def string_value(token)
4+
value(token)
5+
end
6+
end

0 commit comments

Comments
 (0)