Class: LogStash::Config::AST::Node
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- LogStash::Config::AST::Node
- Defined in:
- lib/logstash/config/config_ast.rb
Direct Known Subclasses
Attribute, Branch, BranchEntry, BranchOrPlugin, Comment, Condition, Config, HashEntries, HashEntry, MethodCall, Name, Plugin, PluginSection, Plugins, RValue, RegexpExpression, SelectorElement, Whitespace
Instance Method Summary collapse
Instance Method Details
#text_value_for_comments ⇒ Object
88 89 90 |
# File 'lib/logstash/config/config_ast.rb', line 88 def text_value_for_comments text_value.gsub(/[\r\n]/, " ") end |