Sha256: d8a2f24c3cf9f18c65cdb7e0022965b46007af9b5a8222836b2874f17575e42f
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
require_relative "../lilypond-ruby.rb" module LilyPond class << self attr_accessor :configuration end def self.configuration @configuration ||= Configuration.new yield(@configuration) if block_given? @configuration end class Configuration attr_accessor :default_output, :destination_directory, :lilypond_path def initialize @default_output = :pdf @destination_directory = "." @lilypond_path = File.expand_path("../../../lilypond-2.24.1/bin/lilypond", __FILE__) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
LilyPond-Ruby-0.1.5.3 | lib/lilypond/config.rb |
LilyPond-Ruby-0.1.5.2 | lib/lilypond/config.rb |