Sha256: acf4713602d7e4336dac1b4757aaf0ffad6170c4b67a86c6161fd93f69343139

Contents?: true

Size: 373 Bytes

Versions: 10

Compression:

Stored size: 373 Bytes

Contents

class HeadMusic::Bar
  attr_reader :composition

  delegate :key_signature, :meter, to: :composition

  def initialize(composition)
    @composition = composition
  end

  # TODO: encapsulate key changes and meter changes
  # Assume the key and meter of the previous bar
  # all the way back to the first bar,
  # which defaults to the key and meter of the composition
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
head_music-0.11.9 lib/head_music/bar.rb
head_music-0.11.8 lib/head_music/bar.rb
head_music-0.11.7 lib/head_music/bar.rb
head_music-0.11.6 lib/head_music/bar.rb
head_music-0.11.5 lib/head_music/bar.rb
head_music-0.11.4 lib/head_music/bar.rb
head_music-0.11.3 lib/head_music/bar.rb
head_music-0.11.2 lib/head_music/bar.rb
head_music-0.11.1 lib/head_music/bar.rb
head_music-0.10.0 lib/head_music/bar.rb