Skip to content

Commit

Permalink
comments and empty method
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesbowkett committed May 5, 2009
1 parent 9eb9cc5 commit 54dc6e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/midi/file_output/file_midi.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# a quick note about FAIL. FileMIDI is actually of the same unspecified superclass as LiveMIDI. both
# need new, clearer names, but the nonexistent abstract superclass is just a class which takes options
# for args and has a method called play() which takes a note argument.

class FileMIDI
attr_accessor :clock, :filename
def initialize(options)
raise :hell unless options.is_a? Hash
@clock = options[:clock]
@filename = options[:filename]
end
def play(note)
end
end

0 comments on commit 54dc6e8

Please sign in to comment.