Sha256: 3edea0e8ca5e16aa048af9b47f6648c9beb5e6d1b9ead78b21666d81a9bac2fb

Contents?: true

Size: 390 Bytes

Versions: 4

Compression:

Stored size: 390 Bytes

Contents

module Music
module Transcription

class Change
  attr_accessor :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

4 entries across 4 versions & 1 rubygems

Version Path
music-transcription-0.5.11 lib/music-transcription/change.rb
music-transcription-0.5.10 lib/music-transcription/change.rb
music-transcription-0.5.9 lib/music-transcription/change.rb
music-transcription-0.5.8 lib/music-transcription/change.rb