Method: Fluent::Config::YamlParser::SectionBuilder#to_element
- Defined in:
- lib/fluent/config/yaml_parser/section_builder.rb
#to_element ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/fluent/config/yaml_parser/section_builder.rb', line 31 def to_element elem = body.to_element elem.name = name elem.arg = arg.to_s if arg elem.v1_config = true elem end |