Sha256: 5e1497a6c6137653720bf985b8daecdd228de141c8199a3c6c48ea688d5850f8

Contents?: true

Size: 171 Bytes

Versions: 9

Compression:

Stored size: 171 Bytes

Contents

def g(s)
  if CONFIG["growl"]
    growl(s, :title => "YMDP")
  end
rescue StandardError => e
  if e.message =~ /Connection refused/
    puts s
  else
    raise e
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ymdp-0.0.11 lib/application_view/support/g.rb
ymdp-0.0.10 lib/application_view/support/g.rb
ymdp-0.0.9 lib/application_view/support/g.rb
ymdp-0.0.8 lib/application_view/support/g.rb
ymdp-0.0.7 lib/application_view/support/g.rb
ymdp-0.0.6 lib/application_view/support/g.rb
ymdp-0.0.5 lib/application_view/support/g.rb
ymdp-0.0.4 lib/application_view/support/g.rb
ymdp-0.0.3 lib/application_view/support/g.rb