Sha256: 97f8de65fe47c60f14474926fb87c2b8d2af5b08acb177790e7dcb990a59e347

Contents?: true

Size: 241 Bytes

Versions: 9

Compression:

Stored size: 241 Bytes

Contents

module HeadMusic::Style::Annotations
end

class HeadMusic::Style::Annotations::NoRests < HeadMusic::Style::Annotation
  def message
    "Use only notes."
  end

  def marks
    rests.map { |rest| HeadMusic::Style::Mark.for(rest) }
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
head_music-0.11.9 lib/head_music/style/annotations/no_rests.rb
head_music-0.11.8 lib/head_music/style/annotations/no_rests.rb
head_music-0.11.7 lib/head_music/style/annotations/no_rests.rb
head_music-0.11.6 lib/head_music/style/annotations/no_rests.rb
head_music-0.11.5 lib/head_music/style/annotations/no_rests.rb
head_music-0.11.4 lib/head_music/style/annotations/no_rests.rb
head_music-0.11.3 lib/head_music/style/annotations/no_rests.rb
head_music-0.11.2 lib/head_music/style/annotations/no_rests.rb
head_music-0.11.1 lib/head_music/style/annotations/no_rests.rb