lib/cloud_sesame/query/ast/prefix.rb in CloudSesame-0.1.6 vs lib/cloud_sesame/query/ast/prefix.rb in CloudSesame-0.2.0
- old
+ new
@@ -1,14 +1,10 @@
module CloudSesame
module Query
module AST
class Prefix < SingleExpressionOperator
- self.symbol = :prefix
-
- def compile
- child.detailed if child.kind_of?(Literal)
- super
- end
+ DETAILED = true
+ SYMBOL = :prefix
end
end
end
end