Sha256: a844e728a006100074b3ce3296afe09208bc0a7c77b58d0d73756e6da8f632df
Contents?: true
Size: 390 Bytes
Versions: 26
Compression:
Stored size: 390 Bytes
Contents
class HeadMusic::Staff DEFAULT_LINE_COUNT = 5 attr_reader :default_clef, :line_count, :instrument alias_method :clef, :default_clef def initialize(default_clef, instrument: nil, line_count: nil) @default_clef = HeadMusic::Clef.get(default_clef) @line_count = line_count || DEFAULT_LINE_COUNT @instrument = HeadMusic::Instrument.get(instrument) if instrument end end
Version data entries
26 entries across 26 versions & 1 rubygems