<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,9 @@
 alias :L :lambda
 
+%w{rubygems platform}.each do |lib|
+  require lib
+end
+
 %w{lib/core_ext/struct
    
    lib/arkx</diff>
      <filename>lib/archaeopteryx.rb</filename>
    </modified>
    <modified>
      <diff>@@ -25,7 +25,7 @@ module Archaeopteryx
         @midi.timer.at((@clock.start + @clock.time) - @evil_timer_offset_wtf, &amp;generate_beats)
       end
       generate_beats[]
-      if RUBY_PLATFORM.include? 'win32' # gets block thread on Windows 10000 is arbitrary
+      if Platform::IMPL == :mswin
         puts 'Press CTRL-C to stop'
         sleep(10000)
       else</diff>
      <filename>lib/arkx.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,12 +3,13 @@ module Archaeopteryx
     def initialize(attributes)
       # @mutation = attributes[:mutation]
       @drumfile = attributes[:drumfile]
-      @flash = attributes[:flash] || (RUBY_PLATFORM.include? 'darwin')
       reload
     end
+    def flash_screen
+      puts &quot;\a&quot; if Platform::IMPL == :macosx
+    end
     def reload
-      # flash the screen ; only valid on my box and similarly configured machines!
-      puts &quot;\a&quot;  if @flash                    
+      flash_screen
       @drums = eval(File.read(@drumfile))
     end
     def notes(beat)
@@ -26,5 +27,3 @@ module Archaeopteryx
     end
   end
 end
-
-# probably rename this to make it drum-specific</diff>
      <filename>lib/rhythm.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>55c3413fa016fcfda2152cf5af75e1eab97b49f1</id>
    </parent>
  </parents>
  <author>
    <name>Giles Bowkett</name>
    <email>gilesb@gmail.com</email>
  </author>
  <url>http://github.com/gilesbowkett/archaeopteryx/commit/0b08ebdb91471fdb91b534b7e0d6632b2b6f4b98</url>
  <id>0b08ebdb91471fdb91b534b7e0d6632b2b6f4b98</id>
  <committed-date>2008-11-07T16:48:52-08:00</committed-date>
  <authored-date>2008-11-07T16:48:52-08:00</authored-date>
  <message>Modified ypelud's changes to fit my style. Replaced RUBY_PLATFORM with Platform gem; used Kent Beck &quot;composed method&quot; to make code smaller; etc.</message>
  <tree>cced66e1c5c8f20beb30963b722be4d4fa8b84dc</tree>
  <committer>
    <name>Giles Bowkett</name>
    <email>gilesb@gmail.com</email>
  </committer>
</commit>
