Class: Musicality::Tasks::FileRaker::LilyPond

Inherits:
Musicality::Tasks::FileRaker show all
Defined in:
lib/musicality/project/file_raker.rb

Instance Attribute Summary

Attributes inherited from Musicality::Tasks::FileRaker

#file_ext, #files, #subdirs, #task_name

Instance Method Summary collapse

Constructor Details

#initialize(yaml_files) ⇒ LilyPond

Returns a new instance of LilyPond.



44
45
46
47
48
# File 'lib/musicality/project/file_raker.rb', line 44

def initialize yaml_files
  super(yaml_files, :lilypond, ".ly") do |t|
    sh "lilify \"#{t.sources[0]}\""
  end
end