Class: Producer::Core::Actions::YAMLWriter
- Inherits:
-
FileWriter
- Object
- Producer::Core::Action
- FileWriter
- Producer::Core::Actions::YAMLWriter
- Defined in:
- lib/producer/core/actions/yaml_writer.rb
Constant Summary
Constants inherited from Producer::Core::Action
Producer::Core::Action::INSPECT_ARGUMENTS_SUM_LEN
Instance Attribute Summary
Attributes inherited from Producer::Core::Action
Instance Method Summary collapse
Methods inherited from FileWriter
Methods inherited from Producer::Core::Action
Constructor Details
This class inherits a constructor from Producer::Core::Action
Instance Method Details
#name ⇒ Object
10 11 12 |
# File 'lib/producer/core/actions/yaml_writer.rb', line 10 def name 'yaml_write' end |
#setup ⇒ Object
5 6 7 8 |
# File 'lib/producer/core/actions/yaml_writer.rb', line 5 def setup super @content = .delete(:data).to_yaml end |