class Musicality::Tasks::FileRaker::YAML
Public Class Methods
new(score_files)
click to toggle source
Calls superclass method
Musicality::Tasks::FileRaker::new
# File lib/musicality/project/file_raker.rb, line 34 def initialize score_files super(score_files, :yaml, ".yml") do |t| puts "#{t.source} -> #{t.name}" yml = ScoreDSL.load(t.source).score.pack.to_yaml File.write(t.name, yml) end end