Sha256: 95b23881bea3df71d8ad9554a600b57cf525b51f2a494b4dfdf5241bc7dbd165
Contents?: true
Size: 365 Bytes
Versions: 28
Compression:
Stored size: 365 Bytes
Contents
# A super simple expression resolver for testing... returns the boolean value as # the result for the expression, or when not a boolean, drops the expression. class BooleanOrBustExpressionResolver < Sparkql::ExpressionResolver def resolve(expression) if expression[:type] == :boolean "true" == expression[:value] else :drop end end end
Version data entries
28 entries across 28 versions & 1 rubygems