Class: GitHooks::RspecExecutor

Inherits:
Object
  • Object
show all
Defined in:
lib/git_hooks/rspec_executor.rb

Instance Method Summary collapse

Instance Method Details

#errors?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/git_hooks/rspec_executor.rb', line 3

def errors?
  !system(rspec_command)
end