class Producer::Core::Actions::YAMLWriter
Public Instance Methods
name()
click to toggle source
# File lib/producer/core/actions/yaml_writer.rb, line 10 def name 'yaml_write' end
setup()
click to toggle source
Calls superclass method
Producer::Core::Actions::FileWriter#setup
# File lib/producer/core/actions/yaml_writer.rb, line 5 def setup super @content = options.delete(:data).to_yaml end
Private Instance Methods
arguments_size()
click to toggle source
# File lib/producer/core/actions/yaml_writer.rb, line 16 def arguments_size 1 end