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



80
81
82
# File 'lib/logstash/config/config_ast.rb', line 80

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