Class: AttrSearchableGrammar::SingleQuotedValue

Inherits:
BaseNode
  • Object
show all
Defined in:
lib/attr_searchable_grammar.rb

Instance Attribute Summary

Attributes inherited from BaseNode

#model

Instance Method Summary collapse

Methods inherited from BaseNode

#collection_for, #elements, #evaluate

Instance Method Details

#text_valueObject



120
121
122
# File 'lib/attr_searchable_grammar.rb', line 120

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