Skip to content

Commit

Permalink
1.9 friendlier
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Nov 23, 2009
1 parent 5c002d4 commit 70992c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ex.rb
@@ -1,4 +1,4 @@
require 'frubygems'
require 'frubygems' if $0 == __FILE__ && RUBY_VERSION < '1.9'
require 'sane'
require 'ruby-wmi'
#all = WMI::Win32_PerfFormattedData_PerfProc_Process.find(:all)
Expand Down Expand Up @@ -48,7 +48,7 @@ def diff_values first, second, time_diff, what_to_calculate
old = {}

ts1 = fill old
$VERBOSE ? sleep( 1 ) : sleep ( 3 )
$VERBOSE ? sleep( 1 ) : sleep( 3 )
new = {}
ts2 = fill new

Expand Down

0 comments on commit 70992c5

Please sign in to comment.