Class: Fluent::Config::YamlParser::SectionBodyBuilder::Row
- Inherits:
-
Struct
- Object
- Struct
- Fluent::Config::YamlParser::SectionBodyBuilder::Row
- Defined in:
- lib/fluent/config/yaml_parser/section_builder.rb
Instance Attribute Summary collapse
-
#indent ⇒ Object
Returns the value of attribute indent.
-
#key ⇒ Object
Returns the value of attribute key.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#indent ⇒ Object
Returns the value of attribute indent
62 63 64 |
# File 'lib/fluent/config/yaml_parser/section_builder.rb', line 62 def indent @indent end |
#key ⇒ Object
Returns the value of attribute key
62 63 64 |
# File 'lib/fluent/config/yaml_parser/section_builder.rb', line 62 def key @key end |
#value ⇒ Object
Returns the value of attribute value
62 63 64 |
# File 'lib/fluent/config/yaml_parser/section_builder.rb', line 62 def value @value end |
Instance Method Details
#to_s ⇒ Object
63 64 65 |
# File 'lib/fluent/config/yaml_parser/section_builder.rb', line 63 def to_s "#{indent}#{key} #{value}" end |