Permalink
Browse files

Add accessors for `last_failed` and `failed_path`

  • Loading branch information...
1 parent 9f5a63e commit 00db8cdda07e0f5f961cc72d13bb35f74bedbbbf @netzpirat netzpirat committed Oct 31, 2012
Showing with 6 additions and 0 deletions.
  1. +4 −0 CHANGELOG.md
  2. +2 −0 lib/guard/cucumber.rb
View
4 CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog
+## 1.2.2 - Oct 31, 2012
+
+- Add accessors for `last_failed` and `failed_path`
+
## 1.2.1 - Oct 31, 2012
- [#36](): `:feature_sets` defined in Guardfile is not taken in account.
View
2 lib/guard/cucumber.rb
@@ -13,6 +13,8 @@ class Cucumber < Guard
autoload :Runner, 'guard/cucumber/runner'
autoload :Inspector, 'guard/cucumber/inspector'
+ attr_accessor :last_failed, :failed_path
+
# Initialize Guard::Cucumber.
#
# @param [Array<Guard::Watcher>] watchers the watchers in the Guard block

0 comments on commit 00db8cd

Please sign in to comment.