Sha256: 078fca4808cb772b44c6a1616abf0ba942603d9852885e936cbc6dc628cd9950
Contents?: true
Size: 385 Bytes
Versions: 2
Compression:
Stored size: 385 Bytes
Contents
module Piglet class FieldFunctionExpression # :nodoc: include FieldExpressionFunctions def initialize(name, inner_expression, options=nil) options ||= {} @name, @inner_expression = name, inner_expression @new_name = options[:as] end def simple? false end def to_s "#{@name}(#{@inner_expression})" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
piglet-0.1.1 | lib/piglet/field_function_expression.rb |
piglet-0.1.0 | lib/piglet/field_function_expression.rb |