We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 37fd856 + e4fc50c commit 735d952Copy full SHA for 735d952
lib/active_scaffold/bridges/logical_query_parser/keyword_query_parser.rb
@@ -10,11 +10,7 @@ class KeywordQueryParser
10
end
11
12
# Copy search method from LogicalQueryParser
13
- # rubocop:disable Style/DocumentDynamicEvalDefinition
14
- class_eval <<-RUBY, __FILE__, __LINE__ + 1
15
- #{LogicalQueryParser.method(:search).source}
16
- RUBY
17
- # rubocop:enable Style/DocumentDynamicEvalDefinition
+ class_eval(LogicalQueryParser.method(:search).source, __FILE__, __LINE__)
18
19
def initialize(operator)
20
@operator = operator
0 commit comments