Removed extra attr_accessor and used proper formatting.
This commit is contained in:
parent
037b1e6feb
commit
5429d10eb5
@ -6,7 +6,7 @@ module Guard
|
|||||||
#
|
#
|
||||||
class Watcher
|
class Watcher
|
||||||
|
|
||||||
attr_accessor :pattern, :action, :any_return
|
attr_accessor :pattern, :action
|
||||||
|
|
||||||
# Initialize a file watcher.
|
# Initialize a file watcher.
|
||||||
#
|
#
|
||||||
@ -57,7 +57,7 @@ module Guard
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
guard.options[:any_return] ? paths : paths.flatten.map{ |p| p.to_s }
|
guard.options[:any_return] ? paths : paths.flatten.map { |p| p.to_s }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user