Sha256: 5fbb6c6cb3ed5c967bd30ac826d41069afd0ac4479db3db9ed1b463dbf67dfb4
Contents?: true
Size: 416 Bytes
Versions: 22
Compression:
Stored size: 416 Bytes
Contents
# frozen_string_literal: true module Coltrane module Representation class Piano class NoteSet extend Forwardable include Enumerable attr_reader :notes, :piano def_delegators :notes, :each, :root def initialize(note_set, piano:) @notes = note_set @piano = piano end instance_eval { alias [] new } end end end end
Version data entries
22 entries across 22 versions & 1 rubygems