Method: PGB::FunctionCall#initialize
- Defined in:
- lib/pgb/function_call.rb
#initialize(function, *args) ⇒ FunctionCall
Returns a new instance of FunctionCall.
5 6 7 8 |
# File 'lib/pgb/function_call.rb', line 5 def initialize(function, *args) @function = function.to_s.upcase @args = args.map { to_expression(_1) } end |