Sha256: 963a4f04cfab2edd3ca84ece53f39918f265055f7298a052481c144ef5b7ad66
Contents?: true
Size: 400 Bytes
Versions: 1
Compression:
Stored size: 400 Bytes
Contents
module Guard class GradleAndroidTest class Notifier TITLE = 'Gradle Test Results' def notify(result) ::Guard::Notifier.notify(_summary(result), title: TITLE, image: _image(result)) end private def _summary(result) result ? "Success" : "Failure" end def _image(result) result ? :success : :failed end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
guard-gradle-android-test-0.0.1 | lib/guard/gradle-android-test/notifier.rb |