Sha256: 1927ba6875eb9148f0982aa4d2103f7d5e85e63eda843dff04a85345cb27b608

Contents?: true

Size: 445 Bytes

Versions: 2

Compression:

Stored size: 445 Bytes

Contents

# encoding: utf-8

module Guard
  class Haml
    class Notifier
      class << self
        def image result
          result ? :success : :failed
        end

        def notify( result, message )
          ::Guard::Notifier.notify( message, 
                                    :title => 'Guard::Haml', 
                                    :image => image( result ) 
                                  )
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
guard-haml-0.5 lib/guard/haml/notifier.rb
guard-haml-ext-0.6 lib/guard/haml/notifier.rb