Class: Musicality::Tasks::FileRaker::LilyPond
- Inherits:
-
Musicality::Tasks::FileRaker
- Object
- Rake::TaskLib
- Musicality::Tasks::FileRaker
- Musicality::Tasks::FileRaker::LilyPond
- 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
-
#initialize(yaml_files) ⇒ LilyPond
constructor
A new instance of LilyPond.
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 |