example/device.rb in rbcdio-0.01 vs example/device.rb in rbcdio-0.02
- old
+ new
@@ -1,11 +1,11 @@
#!/usr/bin/env ruby
-# $Id: device.rb,v 1.10 2006/12/16 14:29:06 rocky Exp $
+# $Id: device.rb,v 1.11 2007/10/13 23:25:41 rocky Exp $
#
# A Program to show CD-ROM device information
-# Copyright (C) 2006 Rocky Bernstein <rocky@gnu.org>
+# Copyright (C) 2006, 2007 Rocky Bernstein <rocky@gnu.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
@@ -23,10 +23,9 @@
if(File::exists?(mypath + "/../lib/cdio.rb"))
$: << File.dirname(__FILE__) + '/../ext/cdio'
$: << File.dirname(__FILE__) + '/../lib'
else
require 'rubygems'
- require_gem "rbcdio"
end
require "cdio"
#---
# Return sorted keys of a dictionary.