Class: LogStash::Config::AST::MethodCall
- Defined in:
- lib/logstash/config/config_ast.rb
Instance Method Summary collapse
Methods inherited from Node
Instance Method Details
#compile ⇒ Object
491 492 493 494 |
# File 'lib/logstash/config/config_ast.rb', line 491 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 |