Class: Music::Transcription::Accent

Inherits:
Object
  • Object
show all
Defined in:
lib/music-transcription/accent.rb

Overview

Defines a note accent (stacatto, tenuto, etc.)

Author:

  • James Tunnell

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



9
10
11
# File 'lib/music-transcription/accent.rb', line 9

def ==(other)
  self.class == other.class
end

#cloneObject



13
14
15
# File 'lib/music-transcription/accent.rb', line 13

def clone
  self.class.new
end