Sha256: 4f8d9880ac6b5820ba9029bbde7f186abaff33ed9837bcfe43ebf96db5920b7c

Contents?: true

Size: 214 Bytes

Versions: 1

Compression:

Stored size: 214 Bytes

Contents

#!/usr/bin/env ruby
# coding: utf-8

require 'battery_growl'

limit = ARGV[0] ||= 10
host  = 'localhost'

begin
  g = BatteryGrowl.new
  g.run(limit.to_i,host)
rescue => e
  puts "Program faild."
  puts "#{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
battery_growl-0.0.1 bin/battery_growl