class LogStash::Config::AST::MethodCall

Public Instance Methods

compile() click to toggle source
# File lib/logstash/config/config_ast.rb, line 308
def compile
  arguments = recursive_inject { |e| [String, Number, Selector, Array, MethodCall].any? { |c| e.is_a?(c) } }
  return "#{method.text_value}(" << arguments.collect(&:compile).join(", ") << ")"
end