Class: Music::Transcription::Link::Tie
- Inherits:
-
Music::Transcription::Link
- Object
- Music::Transcription::Link
- Music::Transcription::Link::Tie
- Defined in:
- lib/music-transcription/model/link.rb
Instance Attribute Summary
Attributes inherited from Music::Transcription::Link
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize ⇒ Tie
constructor
A new instance of Tie.
- #to_s ⇒ Object
- #transpose(diff) ⇒ Object
- #transpose!(diff) ⇒ Object
Methods inherited from Music::Transcription::Link
Constructor Details
#initialize ⇒ Tie
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_s ⇒ Object
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 |