Class: LogStash::Config::AST::Node

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/logstash/config/config_ast.rb

Instance Method Summary collapse

Instance Method Details

#text_value_for_commentsObject



88
89
90
# File 'lib/logstash/config/config_ast.rb', line 88

def text_value_for_comments
  text_value.gsub(/[\r\n]/, " ")
end