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
80 81 82 |
# File 'lib/logstash/config/config_ast.rb', line 80 def text_value_for_comments text_value.gsub(/[\r\n]/, " ") end |