class LearnTest::Git::Wip::Errors::NoCommitsError
Constants
- REGEX
Public Class Methods
new(branch)
click to toggle source
Calls superclass method
# File lib/learn_test/git/wip/errors/no_commits_error.rb, line 10 def initialize(branch) super "Branch `#{branch}` doesn't have any commits. Please commit and try again." end