Class: Music::Transcription::Link::Tie

Inherits:
Music::Transcription::Link show all
Defined in:
lib/music-transcription/model/link.rb

Instance Attribute Summary

Attributes inherited from Music::Transcription::Link

#target_pitch

Instance Method Summary collapse

Methods inherited from Music::Transcription::Link

#clone

Constructor Details

#initializeTie

Returns a new instance of Tie.



15
# File 'lib/music-transcription/model/link.rb', line 15

def initialize; end

Instance Method Details

#==(other) ⇒ Object



17
18
19
# File 'lib/music-transcription/model/link.rb', line 17

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

#to_sObject



29
# File 'lib/music-transcription/model/link.rb', line 29

def to_s; "="; end

#transpose(diff) ⇒ Object



21
22
23
# File 'lib/music-transcription/model/link.rb', line 21

def transpose diff
  self.clone.transpose! diff
end

#transpose!(diff) ⇒ Object



25
26
27
# File 'lib/music-transcription/model/link.rb', line 25

def transpose! diff
  return self
end