class CloudSesame::Query::AST::Abstract::Operator
Constants
- SYMBOL
Attributes
context[R]
options[R]
Public Class Methods
new(context, options = {})
click to toggle source
# File lib/cloud_sesame/query/ast/abstract/operator.rb, line 10 def initialize(context, options = {}) @context = context @options = options end
Public Instance Methods
boost()
click to toggle source
# File lib/cloud_sesame/query/ast/abstract/operator.rb, line 15 def boost " boost=#{ options[:boost] }" if options[:boost] end
symbol()
click to toggle source
# File lib/cloud_sesame/query/ast/abstract/operator.rb, line 19 def symbol self.class::SYMBOL end