Sha256: 716ea05b2e16284701e0c1e983e15e7e61fbc089913c36b2b6fa3b9d851a60d1

Contents?: true

Size: 388 Bytes

Versions: 5

Compression:

Stored size: 388 Bytes

Contents

module Music
module Transcription

class Change
  attr_reader :value
  
  def initialize value
    @value = value
  end
  
  def ==(other)
    self.class == other.class && self.value == other.value
  end

  class Immediate < Change
    def initialize value
      super(value)
    end
  end
  
  class Gradual < Change
    def initialize value
      super(value)
    end
  end
end

end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
music-transcription-0.5.7 lib/music-transcription/change.rb
music-transcription-0.5.6 lib/music-transcription/change.rb
music-transcription-0.5.5 lib/music-transcription/change.rb
music-transcription-0.5.3 lib/music-transcription/change.rb
music-transcription-0.5.2 lib/music-transcription/change.rb