Class: Fluent::Config::YamlParser::FluentValue::JsonValue
- Inherits:
-
Struct
- Object
- Struct
- Fluent::Config::YamlParser::FluentValue::JsonValue
- Defined in:
- lib/fluent/config/yaml_parser/fluent_value.rb
Instance Attribute Summary collapse
-
#val ⇒ Object
Returns the value of attribute val.
Instance Method Summary collapse
Instance Attribute Details
#val ⇒ Object
Returns the value of attribute val
21 22 23 |
# File 'lib/fluent/config/yaml_parser/fluent_value.rb', line 21 def val @val end |
Instance Method Details
#to_element ⇒ Object
26 27 28 |
# File 'lib/fluent/config/yaml_parser/fluent_value.rb', line 26 def to_element to_s end |
#to_s ⇒ Object
22 23 24 |
# File 'lib/fluent/config/yaml_parser/fluent_value.rb', line 22 def to_s val.to_json end |