Class: SearchCopGrammar::SingleQuotedAnywhereExpression

Inherits:
AnywhereExpression show all
Defined in:
lib/search_cop_grammar.rb

Instance Attribute Summary

Attributes inherited from BaseNode

#query_info, #query_options

Instance Method Summary collapse

Methods inherited from AnywhereExpression

#evaluate

Methods inherited from BaseNode

#collection_for, #elements, #evaluate

Instance Method Details

#text_valueObject



99
100
101
# File 'lib/search_cop_grammar.rb', line 99

def text_value
  super.gsub(/^'|'$/, "")
end